Using the individual controls  Specifying Default and Cancel buttons

Chapter 11: Working with Controls

Using CommandButtons

CommandButtons are used to carry out actions. For example, you can use an OK button to confirm a deletion or a Cancel button to cancel a requested deletion. If there are many related CommandButtons, place them along the right side of the window; otherwise, place them along the bottom of the window.

You cannot change the color or alignment of text in a CommandButton.

If clicking the button opens a window that requires user interaction before any other action takes place, use ellipsis points in the button text; for example, “Print...”.





Copyright © 2004. Sybase Inc. All rights reserved. Specifying Default and Cancel buttons

View this book as PDF