Hello, i recently started using DDgui but the text it shows is white and it looks like its hidden because of the white background...
¿Is there a way to change the text color?
Thanks!
Looks like either you are using a font that is coloured white or its not present.
Easiest way is to create a font that is very dark blue and save it into the same place as the executable...
thanks!
your reply was too useful!!!
i have another question...
how to make a text box save the value of a variable?
i mean, what you write is what the variable gets?
since i tried already but it doesnt work, also, i dont want the touch keyboard to appear on screen (this already done)
You use DDgui_get$(label$,"TEXT") for entry boxes
Quote from: MrTAToad on 2012-Nov-08
You use DDgui_get$(label$,"TEXT") for entry boxes
Thank you! :D
i didn´t see this on the DDgui manual
Yes, it does need a bit of updating :)
However, may I point you towards my DDgui book at http://www.lulu.com/shop/nicholas-kingsley/programming-with-ddgui-second-edition/ebook/product-18558438.html;jsessionid=D8FD8B48CF7701B9AA4038CFB177C023
If you want to create something with DDgui, maybe you find my DDcreator usefull:
http://www.kanonet.de/downloads/ddcreator
http://www.glbasic.com/forum/index.php?topic=7739
thank you, i will give it a try later, it looks really useful, nice tool you have created :)
Quote from: MrTAToad on 2012-Nov-11
Yes, it does need a bit of updating :)
However, may I point you towards my DDgui book at http://www.lulu.com/shop/nicholas-kingsley/programming-with-ddgui-second-edition/ebook/product-18558438.html;jsessionid=D8FD8B48CF7701B9AA4038CFB177C023
thank you :D currently i can´t buy it, but i will in the near future, looks really good
Quote from: MrTAToad on 2012-Nov-08
You use DDgui_get$(label$,"TEXT") for entry boxes
Can you please write for me some example? :$ i have already tried DDgui_get$ but it doesn´t work as expected, i have to set te value for label$ before compiling the app because writing something different while app is working wont work
Try this quick example :
LOCAL textBox$="text"
LOCAL button$="button"
DDgui_pushdialog(0,0,100,100)
DDgui_text(textBox$,"",40,0)
DDgui_button(button$,"Result",80,0)
WHILE TRUE
DDgui_show(FALSE)
SHOWSCREEN
IF DDgui_get(button$,"CLICKED")
DEBUG "Text in text box is : "+DDgui_get$(textBox$,"TEXT")+"\n"
ENDIF
WEND
thank you! it works so well :D