OKCancel Control

If you’re striving for a nice cross-platform UI, one of the things you need to consider is the placement of OK and Cancel buttons on your windows.

On Mac OS X, these buttons are in this order: Cancel, OK

On Windows and Linux, these buttons are: OK, Cancel

I’ve put together a quick control that handles this for you automatically. However, it is a ContainerControl so you’ll need REALbasic Professional or REAL Studio to use it.

Download it here (documentation and the BSD license) are embedded as Notes in the control itself.

OKCancelControl.rbp.zip



Leave a Reply