Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with readonly txtbox in a grid...
Message
De
15/11/2000 23:08:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Help with readonly txtbox in a grid...
Divers
Thread ID:
00442475
Message ID:
00442475
Vues:
51
I was told to re-post this messeage here, instead of Chatter. Excuse the re-post.

Now then...

I have a column with a standard readonly textbox to display the vendor name, and also another textbox custom class in that same column (not readonly) that inputs and validates the vendor number. Currentcontrol is set to TextBox2.

The sparse setting uses the TextBox1 to display the name in all but the current cell, and the current cell uses my special textbutton class to get and validate the vendor number.

When I add a new row with the cmdNew.Click() method, I do append blank, and then setfocus to grid.column1. At that point TextBox2 gets focus, but when I try to type it is readonly (a message saying "Control is read only" pops up in the lower left hand corner of the screen.

Column.readonly=.f.
column.text1.readonly=.t.
column.text2.readonly=.f.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform