![]() |
Total height of a GuiScrollCtrl
Is there any way to find the "total height" of a GuiScrollCtrl, meaning how far "down" it will actually scroll (same for horizontal scrolling)? I know you could get it by looping through all the controls, but it seems like there should be a better way.
Thanks. |
Something like this would probably suffice, kind of a hack fix though.
PHP Code:
|
is this related to the other thread about freezing players by spamming them with PMs??
|
Quote:
|
Quote:
|
I'm retard. I thought that maybe you were trying to detect the total size of a PM bank based on the scroll bar and stop them from opening if it were too large. But now that I think about it you would need to open the PM first to be able to detect anything about the GUI window anyway.
|
Quote:
|
The PM spam crashing trick doesn't work on someone using Linux, I've found, now it just needs to be fixed for other platforms. :)
|
| All times are GMT +2. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.