Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid's properties
Message
 
À
08/01/2001 10:00:05
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00459858
Message ID:
00460643
Vues:
12
I have decided to use the above command code. Now, I have some new questions (as one still remain old).
>>>>>>>>>>>>>
1) The ReadOnly works well, except that when putting the cursor in the grid with the mouse (at first when access to the gird and also anytime when using the mouse buttons over the grid), it puts the cusor in the field instead just select it. This is not a big issue nor morale. So, this isn't really a question, but something to say about it. This is why I liked the ThisForm.Grid1.SetAll("Enabled",.F.,"Column"), but it effect something else then.
>>>>>>>>>>>>
Check the SelectedOnEntry on the appropriate column in your grid.
>>>>>>>>>>>>
2) The old question remains that since I have combobox IN the grid, everytime the cursor goes in that field (by mouse or keyboard arrow), the data becomes blank (with the combobox downarrow button on the side). Even when there is data existing in that field, the combobox blanks it out (when the cursor is in there), but when leaving the field, the data shows again. I can not understand this? When I used the wizards before, it wasn't like that, but this is a new form (am doing all forms without any wizards) and does that now?
>>>>>>>>>>>>
I have noticed that the field definition of the ControlSource of the column of the grid and field defition of the recordsource of the combobox should be exactly the same.
>>>>>>>>>>>>>>>>>>>>
3) Now, with the combobox being in the grid and the ReadOnly being .T., when using the keyboard arrows navigator, it puts the cursor in the combobox field rather selecting it while all other regular 'text' fields selects (when hitting the arrows, not using the mouse).
>>>>>>>>>>>>>>


The way I got around that is when I'm in a non-edit mode the currentcontrol of the column is a textbox, when I'm in edit it is still the textbox but the user can hit F12 to change the currentcontrol to the combobox
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform