Disabling (F7) Delete Menu option on a form (OpenInsight Specific)
At 29 OCT 1998 02:52:10PM B. Cameron wrote:
I would like to disable the (F7) Delete Menu option on a form.
Currently to disable other controls on form I am getting all control names…
Ctrls=Get_Property(@Window,"CTRLMAP")
then looping through and disabling those that do not match
the proper criteria.
In this case the "MENU" control gets enabled. This what I want
with the exception of the delete item.
How would one accomplish this?
At 29 OCT 1998 05:44PM Carl Pates Sprezzatura wrote:
Try
$Insert Logical
Call Set_Property( @Window : ".MENU.FILE.DELETE","ENABLED",FALSE$)
Carl Pates
World Leaders In All Things Bright And Beautiful
(At home without a fancy sig..
![]()
At 29 OCT 1998 07:07PM B. Cameron wrote:
Carl,
Thanks that is what I do on ALL the controls on a form
and did not realize that the CTRLMAP only returned
"formname.MENU" and does not enable/disable the
whole menu control.
Thanks.