SetGadgetState for StringGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Torp
User
User
Posts: 82
Joined: Fri Apr 01, 2005 11:29 am

SetGadgetState for StringGadget

Post by Torp »

Hello,

Changing the state, on the fly, of a StringGadget would be helpful:

SetGadgetState(#StrGadget, #PB_ReadOnly)
SetGadgetState(#StrGadget, #PB_Writeable)
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: SetGadgetState for StringGadget

Post by Shardik »

I posted already a cross-platform example in 2014.

+1 for a native integration into PureBasic.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: SetGadgetState for StringGadget

Post by collectordave »

+1

Usefull in database apps but have found enable\disable to be usefull that way.

cd
Last edited by collectordave on Sat Feb 04, 2017 8:41 am, edited 1 time in total.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: SetGadgetState for StringGadget

Post by mestnyi »

+1
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: SetGadgetState for StringGadget

Post by Kukulkan »

+1
Post Reply