Home » Developer & Programmer » Forms » About enable or disable a button
About enable or disable a button [message #223658] Sat, 10 March 2007 02:34 Go to next message
nick048
Messages: 36
Registered: February 2006
Member
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
Re: About enable or disable a button [message #224086 is a reply to message #223658] Tue, 13 March 2007 00:10 Go to previous message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

use set_item_property on form_instance.
To enable that, place your code on when-tab-changed.
eg: If tab_label like 'third_tab_label' THEN
Set_item_property
Previous Topic: problem in 6i
Next Topic: Error closing Excel file generated using OLE2
Goto Forum:
  


Current Time: Mon Feb 17 21:35:47 CST 2025