|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
is there a way i can lock command buttons like we lock text boxes?
|
|
#2
|
||||
|
||||
|
There is an "enabled" property for the command button. Is this what you are wanting?
|
|
#3
|
|||
|
|||
|
in my case, i use the enabled property. example text1.enabled = false;
it locks the txtbox and if there's any value, the font color turns to gray |
|
#4
|
||||
|
||||
|
thanks, Onslaught and shibby1011ph, for the response !!! i found that out a while ago too... hehehe i think i should explore vb some more
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > lock command buttons... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|