Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • static
  • edit
  • button
  • image
  • click area
  • radio button
  • check box
  • list box
  • combo box
  • list view
  • table
  • looper
  • treeview table
  • tree view
  • progress bar
  • chart

Static controls

Static controls are display-only. Supported features include multi-line display, RTF, display masks (e.g. numeric, currency, date, time etc), animation (flashing, scrolling), and shadows/shading. 

...

Warning

I'm going to skip over a lot of the properties/attributes you'd expect to see, such as font, size, etc. Instead I'll just pick out what I think are items of special interest.

 

Edit controls

Edit controls can be plain text, multi-line text, RTF, HTML or password. They can also be marked as read-only or grayed (which is also read-only). You can also choose how to use the tab key in multi-line controls (whether to exit the field or insert a tab).

...

You can also have a control return NULL if it is empty instead of a zero or an empty string. 

Button controls

There are five different kinds of buttons:

...

Normal buttons are not intended to be used in windows that have edit controls, according to the docs. I'm not 100% sure what that means, although I think the idea is that if you have a window that's used for any kind of data editing you should be using one of the following three buttons instead.

Validation button

The Validation button is also triggered by the Enter key on a window, and you must use a validation button on any window that does data entry. This button will trigger the exit code of whatever control has focus. 

Interruption button

When you want to call another window from the current window, you need to use an interruption button. If you're in an entry field when you press an interruption button, the entry field's completion code does not execute, and when the code called by the interruption button completes you're back in the entry field again. The Help button is an interruption button. 

Cancel button

This button does not run validation code for whatever control has input. It is used to exit windows. 

Help button

As mentioned, this is a kind of interruption button that brings up application help. 

...

You can add your own images to the image catalog.

Image controls

Images can be static or animated. It's easy to overuse animated images; just think how annoying animated ads can be at times. But animation can be a helpful feature at times. Depending on the images used you can also control the animation rate. 

Radio buttons

Radio buttons can use images if desired.

Check boxes

Check boxes can have an image, a caption, and a sub-caption. In this image I've selected two Visa style checkboxes with sub-captions. 

...