* 650 Posts in 228 Topics by 68 Members Latest Member: takis76   **
IFSO PORTAL
  Advanced search
May 17, 2012, 06:58:08 pm
HomeforumHelpSearchLoginRegister**
Recent Posts
[May 05, 2012, 01:01:38 pm]

[May 03, 2012, 02:11:03 pm]

[April 30, 2012, 12:48:25 pm]

[April 30, 2012, 12:46:52 pm]

[March 02, 2012, 02:05:01 pm]

[February 01, 2012, 07:03:43 pm]

[January 10, 2012, 09:50:03 pm]

[November 06, 2011, 02:57:54 pm]

[November 05, 2011, 08:11:39 pm]

[November 03, 2011, 12:09:02 pm]
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: ifsoGUI_Scrollbar... « previous next »
Pages: [1] Go Down Print
Author Topic: ifsoGUI_Scrollbar...  (Read 1639 times)
greg
Guest
« on: October 02, 2009, 02:42:03 pm »

in my program i use Scrollbar...

Code:

If OriginalGFX.BigImageWidth > 640
   Hor = ifsoGUI_ScrollBar.Create(0, 460, 640, 20, "scrollh", False)
   Hor.SetMinMax(0, OriginalGFX.BigImageWidth)
   Hor.SetValue(0)
   GUI.AddGadget(Hor)
End If

i need to set SetValue(1)
because the cursor of the scroll bar is not resized automatically if SetValue(0)

i dont know if is a bug or a feature...

sorry for may bad english...

ciao.
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #1 on: October 02, 2009, 04:13:42 pm »

in my program i use Scrollbar...

Code:

If OriginalGFX.BigImageWidth > 640
   Hor = ifsoGUI_ScrollBar.Create(0, 460, 640, 20, "scrollh", False)
   Hor.SetMinMax(0, OriginalGFX.BigImageWidth)
   Hor.SetValue(0)
   GUI.AddGadget(Hor)
End If

i need to set SetValue(1)
because the cursor of the scroll bar is not resized automatically if SetValue(0)

i dont know if is a bug or a feature...

sorry for may bad english...

ciao.


This is fixed for the next release.

See this post for the change to the source.
Logged
Pages: [1] Go Up Print 
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: ifsoGUI_Scrollbar... « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
TechHead design by Bloc
Valid XHTML 1.0! Valid CSS!