NXOpen .NET Reference Guide
1899
|
Represents a StringItem for UI Styler. More...
Classes | |
class | _StringItemActivateAdapter |
Public Member Functions | |
delegate NXOpen.UIStyler.DialogState | Activate (NXOpen.UIStyler.StylerEvent eventobject) |
Called when a dialog user enters a character string and presses Return. More... | |
unsafe void | AddActivateHandler (NXOpen.UIStyler.StringItem.Activate activateevent, bool isDialogLaunchingEvent) |
Registers activate callback. More... | |
unsafe bool | GetSensitivity () |
To get senstivity of string control More... | |
unsafe void | SetBitmap (string strBitmap) |
Specifies a filename that contains a bitmap definition. More... | |
unsafe void | SetFocus () |
Indicates that this dialog item is receiving keyboard focus More... | |
unsafe void | SetLabel (string strLabel) |
Specifies descriptive text to display for the dialog item. More... | |
unsafe void | SetSensitivity (bool type) |
Specifies the sensitivity of the dialog item. More... | |
Public Member Functions inherited from NXOpen.UIStyler.StylerItem | |
unsafe NXOpen.UIStyler.StylerItem.ItemType | GetItemType () |
Gets the dialog item type. More... | |
unsafe NXOpen.UIStyler.Attachment | InitializeAttachment () |
Returns initialized dialog item attachment information More... | |
unsafe bool | IsEqualTo (NXOpen.UIStyler.StylerItem itemToCompare) |
Equates two styler items More... | |
unsafe void | SetAttachment (NXOpen.UIStyler.Attachment attachment) |
Specifies the updated dialog item attachment information More... | |
Public Member Functions inherited from NXOpen.TransientObject | |
void | Dispose () |
Frees the object from memory. More... | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
new string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe string | ItemValue [get, set] |
Returns or sets the string value for this dialog item. More... | |
unsafe bool | Visibility [get, set] |
Returns or sets the visibility of the dialog item More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen.UIStyler.StylerItem | |
enum | ItemType { InvalidType = -1, ActionButton, Dialog, RadioBox, Real, ScaleReal, Bitmap, RowColumn, ButtonLayout, ScrolledWindow, ColorTool, SelectionBox, Separator, SingleSelectionList, String, BeginGroup, Integer, ScaleInteger, MultiList, Label, MultiLineText, TabControl, OptionMenu, Toggle, OptionToggle, ToolPalette, WideString, PropertyPage, CollapsibleGroup } |
Describes kind of action to be taken from callbac. More... | |
Protected Member Functions inherited from NXOpen.UIStyler.StylerItem | |
override void | FreeResource () |
Free resources associated with the instance. More... | |
Represents a StringItem for UI Styler.
Created in NX5.0.0
delegate NXOpen.UIStyler.DialogState NXOpen.UIStyler.StringItem.Activate | ( | NXOpen.UIStyler.StylerEvent | eventobject | ) |
Called when a dialog user enters a character string and presses Return.
Created in NX5.0.0
License requirements: None.
eventobject | Event object |
|
inline |
Registers activate callback.
This method should be called before calling UIStyler.Dialog.Show or UIStyler.Dialog.RegisterWithUiMenu
Created in NX5.0.0
License requirements: None.
activateevent | |
isDialogLaunchingEvent |
|
inline |
To get senstivity of string control
Created in NX5.0.0
License requirements: None.
|
inline |
Specifies a filename that contains a bitmap definition.
The filename must contain a UBM, XPM, or BMP extension. When you use this field, the system displays a bitmap for this dialog item instead of a text label. When a bitmap is present, the system uses the text label as tooltip text when a user places the mouse cursor over the bitmap. We recommend that you use a 16x16 bitmap for this dialog item.
Created in NX5.0.0
License requirements: None.
strBitmap | Filename with .ubm, .xpm, or .bmp extension that contains bitmap definition |
|
inline |
Indicates that this dialog item is receiving keyboard focus
Created in NX5.0.0
License requirements: None.
|
inline |
Specifies descriptive text to display for the dialog item.
It should describe the dialog item's intended use. If you specify a bitmap for this dialog item, it uses this text as tooltip text.
Created in NX5.0.0
License requirements: None.
strLabel | String label to display on the left side of the text field |
|
inline |
Specifies the sensitivity of the dialog item.
When you set sensitivity to False, it grays out the dialog item. This indicates that the dialog item exists but is not active.
Created in NX5.0.0
License requirements: None.
type | TRUE if sensitive, FALSE if insensitive |
|
getset |
Returns or sets the string value for this dialog item.
It can be the initial value that is programmatically defined, or interactively entered by the user.
Created in NX5.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the visibility of the dialog item
Created in NX5.0.0
License requirements to get this property: None.
License requirements to set this property: None.