User Tools

Site Tools


button_customization.htm
Navigation:  Templates > Guide to all Templates > Wizard Themes >====== Button Customization ====== Previous pageReturn to chapter overviewNext page

This window contains the generic settings used for selected buttons generated by the wizards. The title of the window reflects which button's properties is currently being modified (i.e., Insert Button, Close Button, etc.).

Common properties include:

Procedure Name (Only valid for the Parent Select button)

Enter a procedure name that the button will call to select a parent record. This button is normally displayed in Browse procedures that use a Child file as the primary file. The template macro symbol, %FileName, is required, and extracts the Dictionary file name for the parent file that is related to the child procedure. You can modify this line with other template macros and text if you wish. No spaces are allowed in procedure names.

Child Browse Proc Name (Only valid for the Child button)

Enter a procedure name that the button will call to browse a child file related to the active primary file. This button is normally displayed in Form procedures to browse a Child file's records to view or modify. The template macro symbol, %FileName, is required, and extracts the Dictionary file name for the child file that is related to the Form's parent. You can modify this line with other template macros and text if you wish. No spaces are allowed in procedure names.

Window Name (Valid for the Parent Select and Child Buttons)

Text that is entered on this line will be used as the description of the window used by the procedure that is called by the button.

Position

Choose from the drop list an approximate location to place this button, or select Other from the drop list to set custom position parameters.

X

Enter an integer constant that specifies the horizontal position of the top left corner of the control.

Y

Enter an integer constant that specifies the vertical position of the top left corner of the control.

Width

Enter an integer constant that specifies the width of the specified control

Height

Enter an integer constant that specifies the height of the specified control.

Text

Enter the text to display on the button

Icon

Enter an icon file name, or use the ellipsis button to select an icon file that you wish to use for this button.

Cursor

Enter a cursor file name, or use the ellipsis button to select a cursor file that you wish to use for this button. The cursor will be displayed when the mouse moves over the button area.

HotKey

Enter a Clarion keycode or equate, or press the ellipsis button to select a key to use as the hot key for this button. Pressing the hot key at program runtime should activate the button.

Message

Enter a message to display in the status bar by default when the mouse moves over the button area.

Tip

Enter a tool tip message to display when the mouse moves over the button area.

Options

Activate the Flat check box to give the selected button a flat appearance.

Activate the Skip check box to disable tabbing to the selected button.

Select a Justification mode to designate where the icon (if any) will appear in relation to the button text.

button_customization.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1