General information
Category:
Forms & Form designer
Hello Evan!
You can try:
thisform.grid.enabled=.t.
thisform.grid.column1.textbox1.enabled=.f.
or:
thisform.grid.readonly=.t.
BB
>I am using VFP 3.0b for Windows.
>
>I have started moving my forms to a system where the user does their editing in grids. I am doing this to simplify the UI for the user as well as to simplify the programming needed as well. One side effect of having editable grids is that the data is more volatile. A stray click or drag can change a data value (for novice users this is a problem).
>
>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? :-)
Previous
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