|
Mike Buess
USA
3037 Posts |
Posted - 07/26/2003 : 10:25:19 AM
|
User-defined menu items cannot be grayed out. The best you can do is test for column selection at the beginning of the item's script, e.g.,
if(wks.sel!=26) { type -b You must select exactly one column; return; }
(See the wks object in LabTalk help.)
You might consider using a button instead. You can put your tests in the Variable box to disable the button when there are no column selections.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 07/26/2003 10:28:31 AM |
 |
|