Sliderthing.bmx example?

BlitzMax Forums/MaxGUI Module/Sliderthing.bmx example?

Pete Carter(Posted 2008) [#1]
ive searched the forum and i cant seam to find out why this example wont compile. it says identifier tgadget not found.

its a fresh install of the latest versions downloaded today. i got max and maxgui a while ago and have just reinstalled on my new machine.


Pete Carter(Posted 2008) [#2]
oh great wrong forum! grrr im so used to using the blitz3d forum i just post here on alto


Ked(Posted 2008) [#3]
You have to import maxgui.drivers.


Pete Carter(Posted 2008) [#4]
Thanks but how? sorry im a blitz3d user and i dont understand why this isnt mentioned when you get the guimodule it just says put everthing in the mod folder and rebuild docs?


Brucey(Posted 2008) [#5]
Are you version 1.30 of BlitzMax with the latest gui modules too?


SebHoll(Posted 2008) [#6]
Just add the line...

Import MaxGUI.Drivers
...to the top of the sliderthing.bmx source file, but under any Strict declarations.


Pete Carter(Posted 2008) [#7]
Sebholl thanks

the example missed out that line and looked for a bmp file when it was a jpeg.

got it working now thanks!