GuiScrollCtrl?
by Dr. John Nobody · in Torque Game Engine · 11/20/2003 (4:17 pm) · 9 replies
Hey, as you can see here

I'm having some problems with the GuiScrollCtrl. I'm trying to do the credits page for my game but I cant seem to get it to scroll to things that are out of its view (I have another image lower in the ctrl that is not visible and the control will not let me scroll down to view it)... I've messed with the settings and cant seem to find anything that turns the scrolling on or off, am I missing something here? am I doing something wrong?... help?

I'm having some problems with the GuiScrollCtrl. I'm trying to do the credits page for my game but I cant seem to get it to scroll to things that are out of its view (I have another image lower in the ctrl that is not visible and the control will not let me scroll down to view it)... I've messed with the settings and cant seem to find anything that turns the scrolling on or off, am I missing something here? am I doing something wrong?... help?
#2
11/20/2003 (4:35 pm)
Ya, all the stuff I want in the scroll ctrl is set as a child of the scroll control(I probaby should have mentioned that in my original post) but it still doesnt scroll :(
#3
Thx
11/21/2003 (4:19 am)
Hmm, maybe post the code for the GUI your GuiScrollCTRL is in?! It's hard to help if we don't know what you did.Thx
#4
Does that make sense?
11/21/2003 (10:34 am)
You might try placing all the bitmap in a subcontrol inside the gui scroll control like this:GuiScrollCtrl
GuiControl <- content region encloses:
GuiBitmapCtrl
GuiBitmapCtrl
GuiBitmapCtrlDoes that make sense?
#5
But I do agree he might want to encapsulate the GuiMLTextCtrl inside a GuiControl, that's usually how I did my scroll controls.
11/21/2003 (11:32 am)
He's using the image tags from the MLTextCtrlBut I do agree he might want to encapsulate the GuiMLTextCtrl inside a GuiControl, that's usually how I did my scroll controls.
+ xxxx: - GuiScrollCtrl |-+ xxxx: - GuiControl |-+ xxxx: - GuiMLTextCtrl
#6
That shouldn't be necessary for the ML control to be a subcontrol of the scroll control's content control. you ought to be able to have the ML as a child of the scroll control - we do that all the time in the demo mod and it works fine.
11/21/2003 (3:25 pm)
Hrm.That shouldn't be necessary for the ML control to be a subcontrol of the scroll control's content control. you ought to be able to have the ML as a child of the scroll control - we do that all the time in the demo mod and it works fine.
#7
11/21/2003 (7:34 pm)
Dont worry, I fixed it for him ;) He wasnt using a GuiMLTextCtrl.
#8
11/21/2003 (7:37 pm)
Well that would be a problem wouldn't it LoL
#9
11/21/2003 (8:18 pm)
Thanks guys, ya, I didnt have a GuiMLTextCtrl... I'm a scroll newb ;) anyway, thanks for all your help though, heres a finished pic!
Torque 3D Owner Robert Blanchet Jr.
In otherwords, in the tree view in the GUI Editor make sure it has something like:
Sorry my picture sucks but I'm sure you get the point.