yab | yet another Basic for HAIKU
How to 'grey-out' a TEXTCONTROL box - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1)
+--- Forum: Help with programs (https://yab.orgfree.com/forum/forumdisplay.php?fid=4)
+--- Thread: How to 'grey-out' a TEXTCONTROL box (/showthread.php?tid=181)



How to 'grey-out' a TEXTCONTROL box - PurpleStudio - 10-01-2024

I want to display information inside of a TEXTCONTROL box/field, but I don't want it to be edit-able. I don't see any Option$ that accomplishes this. Thanks.


RE: How to 'grey-out' a TEXTCONTROL box - bbjimmy - 10-01-2024

Use a textedit instead or a textcontrol and use

TextEdit setTextEdit$, "editable", False


Free Web Hosting