Macro Scheduler 15

Button Object Properties


 

Name

Description

Action

Designates the action associated with the control.

Align

Determines how the control aligns within its container (parent control).

AlignWithMargins

Indicates whether a control should be constrained by margins.

Anchors

Specifies how the control is anchored to its parent.

BiDiMode

Specifies the bi-directional mode for the control.

BitmapData

Bitmap data for data imported into macro.  Use LabelToVariable to get a variable to set this property to.

BrowseStyle

Determine whether to use Open File/Save As or Folder Browse dialog for DoBrowse option.

Cancel

Determines whether the button's OnClick event handler executes when the Escape key is pressed.

Caption

Specifies a text string that identifies the control to the user.

Constraints

Specifies the size constraints for the control.

Cursor

Specifies the image used to represent the mouse pointer when it passes into the region covered by the control.

CustomHint

Custom hint for control.

Default

Determines whether the button's OnClick event handler executes when the Enter key is pressed.

DoBrowse

Set to True to initiate a file open/save as/folder browse dialog.  Set BrowseStyle for the type of dialog to use.

DoubleBuffered

Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first.

DragCursor

Indicates the image used to represent the mouse pointer when the control is being dragged.

DragKind

Specifies whether the control is being dragged normally or for docking.

DragMode

Determines how the control initiates drag-and-drop or drag-and-dock operations.

Enabled

Controls whether the control responds to mouse, keyboard, and timer events.

Filename

Returns the filename located via the DoBrowse option.

Filter

Directory filter for DoBrowse dialog.

Font

Controls the attributes of text written on or in the control.

Height

Specifies the vertical size of the control in pixels.

HelpContext

Numeric ID for control's context-sensitive help topic

HelpKeyword

Keyword for control's context-sensitive help topic

HelpType

Indicates whether the control's context sensitive help topic is identified by context ID or by keyword.

Hint

Contains the text string that can appear when the user moves the mouse over the control.

InitialDir

Initial directory for DoBrowse operation.

Kind

Specifies the kind of bitmap button.

Layout

Specifies where the image appears on the bitmap button.

Left

Specifies the horizontal coordinate of the left edge of a component relative to its parent.

LoadBitmap

Specify a filename of an image to load onto button. Right click in properties grid to select "File Browse" option to locate a bitmap file. Note that the image data is loaded statically into and stored in the dialog.  To link dynamically assign a filename to LoadBitmap at runtime.

Margin

Specifies the number of pixels between the edge of the image (specified in the Glyph property) and the edge of the button.

Margins

Specifies the margins for the control.

ModalResult

Determines whether and how the button closes its (modal) parent form.

Name

Specifies the name of the component as referenced in code.

NumGlyphs

Indicates the number of images that are in the graphic specified in the Glyph property.

ParentBiDiMode

Specifies whether the control uses its parent's BiDiMode.

ParentCustomHint

Determines where a control looks for its custom hint.

ParentDoubleBuffered

ParentDoubleBuffered defers the DoubleBuffered property of this component to the value of the parent's DoubleBuffered property.

ParentFont

Determines where a control looks for its font information.

ParentShowHint

Determines where a control looks to find out if its Help Hint should be shown.

PopupMenu

Identifies the pop-up menu associated with the control.

ShowHint

Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control.

Spacing

Determines where the image and text appear on a bitmap or speed button.

Style

Determines the appearance of a bitmap button.

TabOrder

Indicates the position of the control in its parent's tab order.

TabStop

Determines if the user can tab to a control.

Tag

Stores an integer value as part of a component.

Top

Specifies the Y coordinate of the top left corner of a control, relative to its parent or containing control in pixels.

Visible

Determines whether the component appears onscreen.

Width

Specifies the horizontal size of the control or form in pixels.

WordWrap

Specifies whether the button text wraps to fit the width of the control.