Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

Sprezzatura Ltd

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.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/6daa34f18f97069f852566ac0067a774.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1