Agnes,
You disable the panel, not the controls on the panel for that you have to
use the control array from that by instance roughly typed here again watch
typos
\\\
For each ctr as control in panel1.controls
if typeof ctr Is button then
ctr.disable
end if
next
///
I thought that disable Buttons have a side effect that seems to be in
Windows.
I am not sure however I thought that it was that when click on it when it is
disabled and it has focus, it will fire when you enable it again, so check
that if that goes right with you.
I hope this helps?
Cor
my panel got 10 buttons,
Iwant to disable 8 but enabled 2 buttons.
myPanel.Enabled = false
button3.enabled = true
button6.enabled = true
I found that button3 &button6 cannot be enabled = true, Anybody know why
?? I don't understand ..