On Mar 10, 4:33 am, "nick048" <nicosia.gaet... (AT) moonsoft (DOT) it> wrote:
Quote:
Hi to all,
I need Your help on this question:
In the header of my Form I have a button and a canvas with 3 pages.
When the form start the button must be disabled and must be activated
only when I press on the tab 3.
How can perform this.
Thank You and best regards.
Gaetano |
In the "WHEN-NEW-FORM-INSTANCE" trigger on the form level, put the
following code:
set_item_property('button_you_want_disabled", enabled,
property_false);
set a "WHEN-TAB-PAGE-CHANGED" trigger to set the item property back to
true.
("if var_tab_page = 'tab3' then
set_item_property('button that was disabled', enabled, property_true);
end if;")