Sliderthing.bmx example?

BlitzMax Forums/BlitzMax GUI Programming/Sliderthing.bmx example?

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.

oh great wrong forum! grrr im so used to using the blitz3d forum i just post here on alto

You have to import maxgui.drivers.

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?

Are you version 1.30 of BlitzMax with the latest gui modules too?

Just add the line...

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

Sebholl thanks

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

got it working now thanks!