Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Combo can not be set to ReadOnly
Message
 
 
To
06/06/2003 12:42:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00796794
Message ID:
00797345
Views:
25
>Hi Mark.
>
>So you are saying that if a dropdown list could be made read only, it would no longer work in a grid? That sounds like a bug to me.
>
>Not my data entry grid < s >. I leave the column's Sparse property set to .T. And I set up the Column ControlSOurce as
>
>
>( IIF( SEEK( MyAlias.MyField, 'MyLookupTable', 'MyTag' ), LookupTable.Description, '' ) )
>
>
>This has the effect of making the column ReadOnly. But if I have a drop down list in the grid column, I can still change its data because ReadOnly applies only to the portion of a control that accepts text < s >.
>
>Does that clarify my earlier statement?

It does, but it seems you are coding a workaround because the list can not be set to ReadOnly when you need it to be. I know what the docs say, but I question why it has to be that way. I still do not understand why the VFP Team can not allow a dropdown list to be set to ReadOnly. To ReadOnly means the data is ReadOnly and can not be changed, not the Control or any part thereof.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform