when i do something like this:
synclock getType(Label)
label1.enable = false
end synclock
all Labels objects will be disabled???
Thank you,
Guilherme Costa
Printable View
when i do something like this:
synclock getType(Label)
label1.enable = false
end synclock
all Labels objects will be disabled???
Thank you,
Guilherme Costa
I tried it and it didn't disable labels . So if you need to disable them while using SyncLock , something like this should work :
VB Code:
SyncLock GetType(Label) For Each c As Control In Me.Controls If TypeOf c Is Label Then c.Enabled = False End If Next End SyncLock