Forums Index >> Modding >> Scrolling GUI's
Page : <1> :
You wont find much help here :P
Anyways...
new GuiScrollCtrl(MainAdminWindowScroll)
{
profile = "ttScrollProfile";
position = "76 105";
extent = "373 259";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
EVERYTHING INSIDE GOES HERE
};
Thank you very much. I know that not many people here would respond, but it never hurts to ask. Anyway, you wouldn't respond on MSN, so I figured this'd be faster. :P
Page : <1> :
I am working on a project and I have run into a problem when I try to add a GuiScrollCtrl to the gui file. When I compile with the scroll datablock in place and attempt to call the GUI I get a bus error in the command line and TT crashes. The file actually compiles fine. I know that the error is in the way I am using the datablock, when I attempt to load the GUI without the datablock it executes and loads without a problem. The datablock is copied directly out of TGE:
New GuiScrollCtrl(Scroller) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "256 180";
extent = "200 200";
minExtent = "8 2";
visible = "1";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
childMargin = "0 0";
};
I hope this isn't some stupid error caused by a year of working with microsoft's accursed visual basic language.
Also, how do you pair the scroller with the textbox? And is this what's wrong? FYI, I am working on a mac.
Thanks,
Ben
P.S. Yes, I may be back. I haven't decided yet. :P