Indentifier 'TGadget' not found

BlitzMax Forums/BlitzMax Beginners Area/Indentifier 'TGadget' not found

julianbury(Posted 2006) [#1]
MyFirstWindow:TGadget=CreateWindow("My First window",200,200,400,80)
Repeat
WaitEvent()
Until EventID()=EVENT_WINDOWCLOSE
End

I copied this straight from the online tutorial and was dismayed that it did not work.
On attempting to compile it an error box reported:

Compile Error
Indentifier 'TGadget' not found

So. Where is it and how do I show it to BlitzMax?
Does this happen to every newbe?
A standard prank?

Julian (-_-)


Duckstab[o](Posted 2006) [#2]
have you purchased bmxGui registered and done Syncmods

I above code works on mine


julianbury(Posted 2006) [#3]
I have properly purchased BlitzMax and it is activated.

What are "Syncmods" ?

(-_-)


Bremer(Posted 2006) [#4]
What are "Syncmods" ?


Its the last option in the "Program" menu.


Duckstab[o](Posted 2006) [#5]
Have you purchased the Bmax gui module ?
commands wont work with out it


assari(Posted 2006) [#6]
You need to purchase both Blitzmax and MaxGUI before the above code will work.

Once you have purchased both programs, start the BlitzMax editor and from the Menu select Program and then Synchronize Modules.

Restart the Blitzmax program and you should then be OK.
Good Luck


julianbury(Posted 2006) [#7]
Right.

I have bought MaxGUI and registered it and synchronized it and the problem has gone away.

One last question - Why was it not already part of BlitzMax?

Julian (~_~)


N(Posted 2006) [#8]
Because it was developed seperately to BlitzMax, and some users may not want to pay for the cost of developing it and just get BlitzMax.