General information
Title:
Not allowing a user to change the selected item in listbox
Hi. Whenever my page loads, I don't want the user to be able to change the seleted item in the listbox while in display mode. However, if they go into add or edit mode, they should have the ability to change the selection. How do I prevent them from changing the selected item while in display mode. Here are the properties I have set in the listbox.
BoundColumn = 1
BountTo = .F.
ColumnCount = 2
ControlSource = lvMiscellaneous.cDocCode (a view)
Enabled = .T.
RowSource = DocumentCodes.cDocCode, cDocDesc
RowSourceType = 6
Is there something I'm easily overlooking? Any help is greatly appreciated.
Brad
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