Actually Stuart - as you pointed out - "...you don't need to qualify the 
control References..." - is what I essentially did, and that DID seem to work - 
as I mentioned in my last posting - that I had already solved the problem by 
doing something like that...

-K-

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Stuart Dunkeld
Sent: Thursday, July 23, 2009 12:42 PM

>> 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/289ea162f5642645b5cf64d624c66a1405578...@us-ny-mail-002.waitex.net
** 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.

Reply via email to