Hi Rob
I found antoher problem (sorry
)
The scrollbar gadget doesn't register as being clicked on.
I am pretty sure the problem is with the plugin but there is also the possibility that it is my crappy coding so I have included a small nugget of code for you perusal.
set window title "TEST"
setup gui "TEST","####"
create gadget panel 1,1
set gadget 1,0,0,160,50
create with parent 1
create gadget scrollbar 2
set gadget 2,10,10,100,20
GDsbar = 2
create gadget edit 3
set gadget 3,120,10,30,20
GDsedit = 3
do
cls
oldVLsedit = val(get gadget text(GDsedit))
clicked = gadget clicked()
if clicked <> 0 then lastclicked = clicked
if lastclicked = GDsbar
set gadget text GDsedit,str$(get scrollbar(GDsbar))
endif
newVLsedit=val (get gadget text(GDsedit))
if oldVLsedit <> newVLsedit
set scrollbar GDsbar,newVLsedit
endif
text 0,50,"Gadget Clicked = "+str$(lastclicked)
text 0,70,"Edit Field Value = "+str$(newVLsedit)
text 0,90,"Scrollbar Position = "+str$(get scrollbar(GDsbar))
loop
GOD exists and his name is Jonny Wilkinson