Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Textbox Readonly Property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00009311
Message ID:
00009410
Vues:
26
>>I have a grid for child table records on a form. The
>>Readonly property for the cursor, grid, columns, and
>>textboxes has been set in the forms designer to .F..
>>The grid Enable property has been set to .F. also. All columns have Sparse set to .F.. When the user clicks on an Edit button, I enable the grid. The problem I am having is that when a grid textbox is clicked on with the mouse, or tabbed to, the Readonly property changes to .T.. Clicking on the Record Marker area affects column 1. Any subsequent attempt to edit a value produces a "The Record is Read-Only." message. I have no code in any method that changes this property. I checked this with the Trace and Debug windows.
>>
>>Has anyone run into a problem like this? I tried looking
>>through Knowledge Base, but I came up empty. The list of
>>known bugs for 3.0b does not have anything on this.
>>
>
>There was a thread on something like this a while back -- one way to deal with properties that "slip off" is just to add some code to enforce what you want, like Readonly = .T., Enabled = .F., etc. -- if you can't figure out easily why the properties are changing. I've had several like this.


Your right. I forget too. But I bekieve it is listed in the MS Knowledge base -- under BUGS! <s> You may want to do a search there.

www.microsoft.com/kb/
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform