General information
Category:
Forms & Form designer
>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only