Solid Edge Framework Type Library : SeButtonStyle Enumeration |
Member | Value | Description |
---|---|---|
seButtonAutomatic | 1 | Button Style - Automatic |
seButtonCaption | 2 | Button Style - Caption |
seButtonIcon | 3 | Button Style - Icon |
seButtonIconAndCaption | 4 | Button Style - Icon and Caption |
seButtonIconAndCaptionBelow | 5 | This style will cause Edge to place the text of a button below the icon. This style MUST be used for any command that wants to use a large icon. |
seCheckButton | 6 | This style will cause Edge to create a check button. Edge does not provide direct support for checking/unchecking the button. Edge will fire the OnCommand event when the button is clicked. In order to set the check state, the add-in should respond to the OnCommandUpdateUI event and set (to “check”) the seCmdActive_Checked bit of the “lCmdFlags” argument. Failure to set this bit will result in the button being/remaining unchecked. To remain checked, set the bit on each call to OnCommandUpdateUI (failure to do so results in the button being unchecked.) |
seCheckButtonAndIcon | 7 | This style is analogous to seCheckButton except that instead of text, an icon is displayed with the button. Of course the icon must have been passed to edge via a call to SetAddInInfo(Ex). |
seRadioButton | 8 | This style will cause Edge to create a radio button. The state of a radio button is set in the same way a check button is set. That is, using the seCmdActive_Checked bit of lCmdFlags. |