Reputation: 107
I have create,save,update and delete button's in a form. At first only create button must be enabled and all other buttons disabled, once we create a record, then the save button is enabled. The update and delete button is enabled after we click on save button.
Upvotes: 1
Views: 23025
Reputation: 2242
You can enable and disable buttons with:
set_item_property('BUTTON_NAME',enabled,property_true);
set_item_property('BUTTON_NAME',enabled,property_false);
Upvotes: 3