About the toolbar
i have 2 form, one is MDI Form call frmMainForm, and a Login form call frmLogin, at the MDI Form i have a Toolbar; and 2 button(btnlogin and btncancel)
The question i want to ask is that, when i login to the system, i want to disable some of the icon in the toolbar.
i try the following code:
toolbar1.buttons(0).enabled = false
but the output is the icon can't disable.
Who can help me solve this problem, thx alot for your help although you can help me or not.
|