R
Romain TAILLANDIER
Hi group,
I manage with toolBars.
This class seems to me as a prehsitorical (if that word exists) class to
me......
I used the class ToolBar, added ToolBarButton in the ToolBar.Buttons, put
images on them etc....
To detect a ToolBarBbutton.Click event, it seems that the only way is to
detect the ToolBar.Click event then to determine the ID of the Button
clicked, and select do what to do in a great switch case.
That mean that if i insert a new button to my ToolBar during a maintenance
developpement, or for a new version, i will have to rewrite my entiere
switch case !
Is there a realist method to get my ToolBarButton.click events ??
In the ToolBarButtonCollection, I can fix the name of myToolBarsButtons, so
why can't i access them with it ?
Must i develop a new ToolBarButton class to do that ?
Or is there a real third part ToolBar class wich improve some realist
functionalities ?
Or do i miss something ?
thanks
ROM
I manage with toolBars.
This class seems to me as a prehsitorical (if that word exists) class to
me......
I used the class ToolBar, added ToolBarButton in the ToolBar.Buttons, put
images on them etc....
To detect a ToolBarBbutton.Click event, it seems that the only way is to
detect the ToolBar.Click event then to determine the ID of the Button
clicked, and select do what to do in a great switch case.
That mean that if i insert a new button to my ToolBar during a maintenance
developpement, or for a new version, i will have to rewrite my entiere
switch case !
Is there a realist method to get my ToolBarButton.click events ??
In the ToolBarButtonCollection, I can fix the name of myToolBarsButtons, so
why can't i access them with it ?
Must i develop a new ToolBarButton class to do that ?
Or is there a real third part ToolBar class wich improve some realist
functionalities ?
Or do i miss something ?
thanks
ROM