Try setting the command button's 'Visible' propery to False in the 'Click'
event of command button.
Example:
'*********************************
Private Sub Command1_Click()
Command1.Visible = False
End Sub
'*********************************
Quote:
> Hi,
> I have a form with 4 buttons (VB 6). If I hit a button then a next
> dialog ist loaded (modeless). The problem: the next form takes a
> second for loading and the activated button is visible through the
> loading form. How can I deactivate the button?
> Matthias