//AB/ CLASSDEF Class cWinTextBox Is A BaseMetaType TextBox ABMetaTextBoxMixin DefineABMetaTextBoxMixin Set Type_Of_Drag To TD_DRAG_CONTROL Set Drop_Allowed To False Set Control_Type To ctBASE Set Floating_Menu_Id To TextBoxFloater.obj Set ClassPackage To "cWinTextBox.pkg" Set ObjectNameMask To "oWinTextBox" Set ClassHelpName To "TextBox" Property Complex Location 0 0 // Object Location (Complex: row, column) Property Always_Generate Complex Size 14 60 // Object Size (Complex: height, width) // Colors Property Color Color clBtnFace // Background Color Property Color TextColor clWindowText // Text Color // Hot tracking Property No_Execute Boolean pbHotTrack False // Enables hot tracking for the button Property No_Execute Color piHotColor clBlue // Defines hot tracking color // Gradient fill Property No_Execute Mode Gradient_Mode GRADIENT_NONE GRADIENT_NONE GRADIENT_VERTICAL GRADIENT_HORIZONTAL GRADIENT_TOPBOTTOM GRADIENT_LEFTRIGHT // Sets/Get Gradient fill mode. TOPBOTTOM mode fills the button background from top to center, then from center to bottom. LEFTRIGHT mode fills background from left to center, then from center to right. Property No_Execute Color GradientFromColor clBlue // First gradient color (from) Property No_Execute Color GradientToColor clNavy // Second gradient color (to) // Font/Label Property String Label // Text/Label associated with this Control Property Complex FontSize 12 0 // Text Font size (Complex) Property Integer FontWeight 400 // Text Font weight Property String TypeFace "MS SANS SERIF" // Font to be used for Text Property Boolean FontItalics False //If set to true, this property will italicize the current font. Property Boolean FontUnderline False // If true, font will be printed with underscores at the base of the character. If false, the font will be printed normally. Property No_Execute Boolean FontStrikeOut False // This property sets the strikeout state for the label // Tooltips Property No_Execute String psToolTip "" // Gets/Sets control tooltip Property No_Execute String psToolTipTitle "" // Gets/Sets button tooltip title, shown on the tip in bold, at the Top Property No_Execute Mode piToolTipIcon TTI_INFO TTI_INFO TTI_NONE TTI_WARNING TTI_ERROR // Adds standard icon to the ToolTip. To use this property, psToolTipTitle must be set. Property No_Execute Boolean pbToolTipBalloon True // Indicates that the ToolTip control has the appearance of a cartoon "balloon," with rounded corners and a stem pointing to the item. Property No_Execute Boolean pbToolTips True // Enables/Disable the tooltip. Property No_Execute Boolean pbAutoLabelAsToolTipTitle True // (pbAutoLabelAsToolTipTitle) If no ToolTipTitle has been specified use the object label as ToolTipTitle? // Other Property No_Execute Anchor peAnchors anNone // When a container is resized this determines how child objects are moved and resized. Objects can be anchored in any combination of left, right, top or bottom. Property No_Execute Boolean Enabled_State True // Disable the button from taking user-input? // Border Property Mode Border_Style Border_None Border_None Border_None BORDER_DIALOG BORDER_CLIENTEDGE BORDER_STATICEDGE BORDER_NORMAL BORDER_WINDOWEDGE Property No_Execute Color Border_Color clBlack Property No_Execute Color Border_Width 1 // Property No_Visible No_Generate Mode Justification_Mode (jMode_VCenter ior jMode_Center) jMode_VCenter jMode_Top jMode_Bottom Property No_Visible No_Generate Boolean Auto_Size_State False // Size (and resize) textbox based on text contents Property No_Execute No_Visible Always_Generate Boolean pbAutoStatusHelpAsToolTip False // Not applicable for this class End_Class