Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Need non-edit box for Blue GUI2

Author
Message
Guyon
20
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 4th Mar 2005 04:38 Edited at: 4th Mar 2005 05:31
I need to dispaly numbers that I do not want anyone to edit. Can you make the edit box so users ca not change the amout?

I guess what I want is a Text box for numbers that is read only. Could I use a Panel for this?
BatVink
Moderator
20
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 4th Mar 2005 06:02
setGadgetEnabled
setGadgetEnabled handle gadget, bool enabled

Description:
Enables or disables a gadget. Gadgets are enabled by default, but if they are disabled, they appear greyed-out, and the user cannot interact with them.

BatVink
Narf The Mouse
19
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 4th Mar 2005 06:31
There's also a setReadOnly for edit boxes. Not sure how that might be different from disabling the gadget.

Cheese!
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Mar 2005 07:17
setReadOnly is the command you need. setGadgetEnabled will grey it out, which is not what you are after.


BlueGUI Windows Plugin
Guyon
20
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 4th Mar 2005 07:48
Really stupid questin here. How do I write to an edit box?
Thanks
BatVink
Moderator
20
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 4th Mar 2005 16:04
setgadgettext

BatVink
Guyon
20
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 4th Mar 2005 22:12
Thanks!!!!!

Login to post a reply

Server time is: 2024-03-29 07:29:17
Your offset time is: 2024-03-29 07:29:17