>> I now created a cursor(Menu_pass2) that represents the next level down
>> in the menu system, and has a boolean field called Sub_OPT. For the
>> column in the Grid within question - I initial set the Control to be
> the
>> Text box instead of the Button. Then, with the Form Init I have the
>> following code:
>>
>> thisform.GrdSubMenu.SetAll("DynamicCurrentControl", ;
>> "IIF(!Menu_pass2.Sub_OPT, ;
>> 'Thisform.GrdSubMenu.Column3.Dummy_Txt', ;
>> 'Thisform.GrdSubMenu.Column3.Sub_Opt')", "Column3")
>>
Just to check, the field is called Sub_OPT - Menu_pass2.Sub_OPT - and
the control is also called Sub_Opt -
thisform.GrdSubMenu.Column3.Sub_Opt - I wonder if there is some kind
of confusion caused by this, perhaps changing the name of the control
would help? I would set the property on the specific column you want
rather than using SetAll, and you don't need to qualify the control
references so it could be:
thisform.grdSubMenu.Column3. DynamicCurrentControl =
"IIF(!Menu_pass2.Sub_OPT, 'Dummy_Txt', 'btnSub_Opt')"
--stuart
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.