Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Swf toolbar
posted

Hello guys,

Could you please suggest, how can I get access to the toolbar item? Please see below.

In general I need to check if this item sticked or not.

And also, could you please share the link to the PerformToolAction object description (methods, etc)

Thank you in advance!

 

Parents
  • 53790
    posted

    Hi,

    I try to reproduce your scenario. Could you please take a look at the provided code below and attached video file. Let me know if you have any questions.

    SwfWindow("Form1").Move 478,148
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "ButtonTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "StateButtonTool1"
    SwfWindow("Form1").Move 477,300
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "ButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "StateButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "ButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "ButtonTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "StateButtonTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "ButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "StateButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "StateButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrDropDown, "UltraToolbar1", "PopupMenuTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrMenu, tbmgrClick, "UltraToolbar1,PopupMenuTool1", "StateButtonTool2"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "StateButtonTool1"
    SwfWindow("Form1").SwfObject("_Form1_Toolbars_Dock_Area_Top").PerformToolAction tbmgrToolbar, tbmgrClick, "UltraToolbar1", "ButtonTool1"
    SwfWindow("Form1").Close

    Video:

     

Reply Children