CreateLabel

BlitzMax Forums/MaxGUI Module/CreateLabel

VicToMeyeZR(Posted 2010) [#1]
Is the a distroylabel or any way to remove a label after its created?


VicToMeyeZR(Posted 2010) [#2]
Or possibly create dynamic labels?


degac(Posted 2010) [#3]
FreeGadget to destroy/remove any gadget created.

To change in some way a label (or gadget) you can use

SetGadgetText gadget,text to change its text/title
SetGadgetColor gadget,r,g,b to change its color (fore/background)

Unfortunately if you want to change the ALIGNMENT of a label, at the moment, there is no other way to destroy it and rebuild it with a new align_flag (I don't really know any other solutions to this)

Cheers


jsp(Posted 2010) [#4]
Unfortunately if you want to change the ALIGNMENT of a label, at the moment, there is no other way to destroy it and rebuild it with a new align_flag (I don't really know any other solutions to this)

Unfortunately!

Is the a distroylabel or any way to remove a label after its created?

If the label is at any time later needed again, you can also use HideGadget(gadget) and ShowGadget(gadget) to display what you want.


VicToMeyeZR(Posted 2010) [#5]
perfect. Thanks guys. I wasn't thinking along the lines of it being a gadget.. :)