Version 6.3.13 for Windows
 —  Dialog Component Reference  —

Push Button Control

This document covers the following topics:


Description

A push button control is a representation of a button. The end user can click on it to trigger a certain action (specified in the click-event handler code). You can use a push button control's handle value in the DEFAULT-BUTTON attribute of a dialog; your push button control then serves as the dialog's default button.

Note:
Under Windows, a push button control's background and foreground colors will be displayed as the system default at runtime, regardless of the specified value.

Top of page

Attributes for Push Button Control

Attribute Name Query Set/Modify In Attr. Window
ACCELERATOR X X/X X
BACKGROUND-COLOUR-NAME X X/X X
BACKGROUND-COLOUR-VALUE X X/X X
CLIENT-DATA X X/X  
CLIENT-HANDLE X X/X  
CLIENT-KEY X X/X  
CLIENT-VALUE X X/X  
CONTEXT-MENU X X/X X
DIL-TEXT X X/X X
ENABLED X X/X X
FIRST-CHILD X -/-  
FOLLOWS X X/X  
FONT-HANDLE X X/X X
FOREGROUND-COLOUR-NAME X X/X X
FOREGROUND-COLOUR-VALUE X X/X X
HELP-ID X X/X X
LAST-CHILD X -/-  
OWNER X X/-  
PARENT X X/-  
PREDECESSOR X -/-  
RECTANGLE-H X X/X X
RECTANGLE-W X X/X X
RECTANGLE-X X X/X X
RECTANGLE-Y X X/X X
STRING X X/X X
STYLE X X/- X
SUCCESSOR X -/-  
TOOLTIP X X/X  
TYPE X X/-  
VISIBLE X X/X X

Top of page

Events

Click Event.

Top of page