Do TGadgets have SetGadgetText, etc?

BlitzMax Forums/BlitzMax Beginners Area/Do TGadgets have SetGadgetText, etc?

Russell(Posted 2006) [#1]
Just thought it would make sense to have:
btnOne:TGadget = CreateButton(...)
btnOne.SetText("Hello")

rather than (or in addition to):
btnOne:TGadget = CreateButton(...)
SetGadgetText(btnOne,"Hello")


This would make it even more OOP-like for those that like that sort of thing ;)

Russell


Dreamora(Posted 2006) [#2]
Many of those things are present. But you need to use Blide or own Hotdocs to use them usefully as such things are not really documented.


tonyg(Posted 2006) [#3]
Russell, have you tried that as the method is SetText?


hub(Posted 2006) [#4]
What is 'Hotdocs' ?


tonyg(Posted 2006) [#5]
Hotdocs
(link obtained by typing 'Hotdocs' into the new, superfast search engine available here on bb.com :)