Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal V4 Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=143)
-   -   Reuqest: scrollextent variable (https://forums.graalonline.com/forums/showthread.php?t=67833)

Yen 08-03-2006 12:16 AM

Reuqest: scrollextent variable
 
Any chance of getting a variable that tells us how far a GuiScrollCtrl can be scrolled?
i.e. if I can scroll my GUI vertically 140 pixels, but I can't scroll it horizontally, it would look like scrollextent = "0 140"

Admins 08-14-2006 09:29 PM

Normally you specify that by setting the size of the scroll control.

Yen 08-14-2006 10:51 PM

But if I put a GuiMLTextCtrl inside the scroll, how far I can scroll increases when I add more lines to it.

Edit: Thanks, I see what you mean now. ^^

Admins 08-14-2006 11:00 PM

Yes sorry I meant you specify the scroll extent by resizing the controls that are in the scroll control. The multiline text control resizes itself though, not sure what to do against that. Eventually put a GuiControl into the scroll control and then put the multiline text control into that GuiControl


All times are GMT +2. The time now is 07:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.