I have an edit control with data that I want to switch to read-only and back, based on a button press.
I can't quite get it to work. Anyone tried this?
Thanks.
This works for me.
SetID "EM_SetReadOnly",207
SendMessage WinName,@EM_SetReadOnly,1,0,ControlNumber : ' read-only
SendMessage WinName,@EM_SetReadOnly,0,0,ControlNumber : ' not read-only
Bruce
Use the SEARCH tab of the help file and search for MODIFYSTYLE.
Or in the alphabetical list of key words. (It's not in the index)
That's the answer you're looking for to change any style.
Larry
Thanks.
I will check it out tomorrow. Fireworks tonight.
Bruce
MODIFYSTYLE is a command. There's nothing like looking at the help file. ::)
Thanks, guys.