General information
Category:
Forms & Form designer
>>How can I (in a simple way) make the grid "read-only". I have tried setting grid.enable = .F. which is great, but also disables the scroll bars. Before I bark up the wrong tree is there a better way to do this?
>>
>>Note: what I want is to still allow the user to scroll through data values, but not be able to change data in text boxes and combo boxes in the grid until they enter edit mode (click an edit button or something). Clear as mud? :-)
>
>Use readonly property, e.g. Grid.Readonly=.t. Sometimes you'll have to set specifically Grid.Column1.Readonly=.t. (especially if you add new columns). Also, it's nice to set SET NOTIFY OFF to remove annoying message "record is read only"
Ed, Bela:
The user can still select the combo boxes in the grid and this will cause events to fire. Any other ideas?
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