Ralph Shnelvar
2010-Aug-19 14:27 UTC
[fxruby-users] Making a text filed editable and not editable dynamically
I want to set the backcolor of an editable text field ... and it does not seem to work. I have a TEXTFIELD_READONLY FXTextFiled and that seems to allow me to set the backcolor. So, how can I make an FXTextField READONLY or not READONLY on the fly? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100819/79239cc4/attachment.html>
Lyle Johnson
2010-Aug-19 15:27 UTC
[fxruby-users] Making a text filed editable and not editable dynamically
On Thu, Aug 19, 2010 at 9:27 AM, Ralph Shnelvar <ralphs at dos32.com> wrote:> So, how can I make an FXTextField READONLY or not READONLY on the fly?Setting the editable attribute to true/false should do this. Is that not working? See http://www.fxruby.org/doc/api/classes/Fox/FXTextField.html.
Ralph Shnelvar
2010-Aug-19 16:50 UTC
[fxruby-users] Making a text filed editable and not editable dynamically
Lyle, Thank you so much for pointing that out! Until now, I didn''t get the gestalt of how the attributes work. And now the backcolor works! Ralph Thursday, August 19, 2010, 9:27:41 AM, you wrote: LJ> On Thu, Aug 19, 2010 at 9:27 AM, Ralph Shnelvar <ralphs at dos32.com> wrote:>> So, how can I make an FXTextField READONLY or not READONLY on the fly?LJ> Setting the editable attribute to true/false should do this. Is that LJ> not working? LJ> See http://www.fxruby.org/doc/api/classes/Fox/FXTextField.html. LJ> _______________________________________________ LJ> fxruby-users mailing list LJ> fxruby-users at rubyforge.org LJ> http://rubyforge.org/mailman/listinfo/fxruby-users -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100819/27cb1b49/attachment.html>