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 Perr0Grande, Today, 08:16 PM
      0 responses
      2 views
      0 likes
      Last Post Perr0Grande  
      Started by elderan, Today, 08:03 PM
      0 responses
      3 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      9 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Working...
      X