Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ToolBar Buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ToolBar Buttons

    Hello,

    can anyone please help me to get the names of the buttons within "btnDraw". Thanks to this great forum I can add toolbars and buttons like "btnPeriod" or "btnDataBox" but I couldn´t find untill now how to add "Snap Mode" and "Stay In Draw Mode".

    I know that eg instruments is "btnInstrument" or that dataseries is "btnDataSeries" but what is

    snapmode = ???
    stay in drawmode = ???


    Thanks in advance.
    Tony
    Last edited by tonynt; 07-23-2012, 06:31 AM.

    #2
    I believe snapmode = "mnuSnapMode" and stay in drawmode="mnuStayInDrawMode"

    Comment


      #3
      I can access the menu item, but does anyone know how to determine if it is "enabled" or not? In other words, if it is in "stay in draw mode" or not?

      EDIT: It seems that System.Windows.Forms.ToolStripMenuItem should have a "Checked" property, but it doesn't. At least in .NET Framework 4.0+. I tried adding reference to v4.0 of System.Window.Forms.dll and that didn't seem to allow accessing "Checked". Ideas?

      Thanks!
      Daniel
      Last edited by neoikon; 03-26-2013, 10:42 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X