Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I had to do something similar with a grid that scrolled horizontilly. I wanted the user to see the data but not change so must have grid.Enabled=.T. Grid.SetAll(ReadOnly)=.T. wouldn't work on everything, especially comboboxes. I ended up setting each controls ReadOnly property to .F. individually. A pain, but the only way I could get it to go. HTH
>
>Colin,Terry:
>
>I found a simple way to do what I was looking for.
>
>thisform.grid1.setall('enabled',.F.,'column')
>
>It is really just a modification of what each of you said. There doesn't seem to be any need to leave one of the columns enabled.
>
>Just to let you guys know. :-)
with thisform.thisgrid
For i = 1 to .columncount
.columns[i],enabled = .T.
next i
endwith
Helpful?
Robin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement