.PerformClick as well.. search in object browser to see full info
I'm trying something like this
ToolBar1.Buttons(3).PerformClick()
And getting a sintax error because
PerformClick is not a member of System.Windows.Forms.ToolBarButton
What am I doing wrong?
Thanks
Marcos
> .PerformClick as well.. search in object browser to see full info
>
[quoted text clipped - 3 lines]
>> Marcos
>> PS: Pls send a copy to kiko@barretos.com.br
Jared - 13 Jul 2006 03:16 GMT
you need to call like this..
form1.ToolStripbutton1.PerformClick
You will not find the toolstrip collection very helpful
> I'm trying something like this
>
[quoted text clipped - 17 lines]
>>> Marcos
>>> PS: Pls send a copy to kiko@barretos.com.br
Marcos M Ribeiro - 13 Jul 2006 03:39 GMT
Thanks
I'll explore it
I found another way (not that elegant)
ToolBar1_ButtonClick(ToolBar1, New
ToolBarButtonClickEventArgs(ToolBar1.Buttons(3)))
> you need to call like this..
>
[quoted text clipped - 23 lines]
>>>> Marcos
>>>> PS: Pls send a copy to kiko@barretos.com.br