Jump to content

Scrollbar with guieditor?


tigerman

Recommended Posts

Posted

to create a scrollbar (not scrollpanel) easy with guieditor you gotta create a progress bar then just copy the position and size of progress and paste in your scrollbar element, i've done this many times and works perfectly.

  • 3 weeks later...
Posted

mm theres on example what i did but still no luck

GUIEditor_Window = {} 
GUIEditor_Progress = {} 
  
GUIEditor_Window[1] = guiCreateWindow(473,483,398,201,"",false) 
--GUIEditor_Progress[1] = guiCreateProgressBar(64,24,274,26,false,GUIEditor_Window[1]) 
scrollBar = guiCreateScrollBar(64,24,274,26,true,true,GUIEditor_Window[4]) 
  

What i did wrong ?

Posted

of course it won't work if you put GUIEditor_Window[4]! your GUI-window element is GUIEditor_Window[1].

GUIEditor_Window = {} 
GUIEditor_Progress = {} 
  
GUIEditor_Window[1] = guiCreateWindow(473,483,398,201,"",false) 
--GUIEditor_Progress[1] = guiCreateProgressBar(64,24,274,26,false,GUIEditor_Window[1]) 
scrollBar = guiCreateScrollBar(64,24,274,26,true,false,GUIEditor_Window[1]) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...