How to enable and disable a group of buttons with text input in a field?

William de Smet wdesmet at wanadoo.nl
Wed Apr 12 15:59:21 EDT 2006


Hi there,

I have a field that I want to use to enable and disable a group of buttons:
- When the user puts text into the field the group will be enabled.
- When the user deletes the text (the field is empty) the group will be disabled

So far the first part works but I can't get the second part to work:

on Keydown
  enable group "test"
  pass keydown
end Keydown

Any suggestions?

Greetings,

William de Smet



More information about the use-livecode mailing list