Callback: | AEFToggleGadgetWithChoice |
Arguments: |
Gadget - Gadget whose value is to be modified srcGadgetPath - Path to source gadget choiceValue - choice value to look for |
|
|
Description: | Toggles the sensitivity of the gadget at "gadgetPath" based on the value of the choice "choice" gadget. If the current value matches the specified value, the specified gadget will be made sensitive. |
Example: |
Choice { Name = ora8_pwtype; Title = Msg(Dialogs_I18N_OracleLogin_Authentication); Choices = Msg(Dialogs_I18N_OracleLogin_ExternalAuth) {"E"}, Msg(Dialogs_I18N_OracleLogin_GlobalAuth) {"G"}, Msg(Dialogs_I18N_OracleLogin_PasswordAuth) {"I"}; Show = ALL; Sort = NO; ChildColumnAlignment = LEFT; ChildRowAlignment = BOTTOM; /* * Define callbacks to toggle the sensitivity of * the text fields ora8_ext_name and ora8_passwd. */ Changed = AEFToggleGadgetWithChoice&/.../ora8_pwtype ( "/.../ora8_ext_name", "G"), AEFToggleGadgetWithChoice&/.../ora8_pwtype ( "/.../ora8_passwd", "I"); } |