Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-03-2006, 12:16 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
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"
  #2  
Old 08-14-2006, 09:29 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Normally you specify that by setting the size of the scroll control.
  #3  
Old 08-14-2006, 10:51 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
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.

Last edited by Yen; 08-15-2006 at 12:44 AM..
  #4  
Old 08-14-2006, 11:00 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:49 PM.


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