[MaxGUI] whats wrong
BlitzMax Forums/BlitzMax Beginners Area/[MaxGUI] whats wrong
| ||
local n:Tgadget n.name="test" whats wrong |
| ||
First of all, you should be setting the gadget stuff through the supplied functions unless you know exactly what you're doing. More often than not, when one parameter is changed, others need to be changed also. Second, it's not working because you're just creating a lable for a TGadget, but not creating an actual instance of TGadget. For your example, you should use: Local n:Tgadget = New TGadget But it would even be better to use MaxGUI's own functions. Local n:TGadget = Createwhatevergadget(Gadget parameters) |
| ||
To learn more about MaxGUI, go through the beginner's tutorial |
| ||
I agree! The beginner's tutorial is VERY helpful. It's well worth the time to read through it... |
| ||
+1 :) |