cameronlanni
12-09-2006, 09:19 PM
I know there is a command 'ReadOnly' but I can't implement it correctly. Basically, I want ReadOnly to equal true if a certain condition applies. The IF statement and everything is fine, but i cant get the ReadOnly to work. Any suggestions?
Edit: Ok, I've figured it out. List Boxes can't be read only, but the selection mode can be changed to: Single, Multiple, or None. The method to do so,uses the following command:
lstBox.SelectionMode = "None"
Thanks,
Cameron
Edit: Ok, I've figured it out. List Boxes can't be read only, but the selection mode can be changed to: Single, Multiple, or None. The method to do so,uses the following command:
lstBox.SelectionMode = "None"
Thanks,
Cameron