Versions Compared

Key

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

...

The CaptionList property adds unique functionality to the SRP Button Control. The Caption property is useful for adding a single centered caption, which meets most basic needs. The CaptionList property allows you to place any number of captions aligned and formatted as you see fit.

...

For more information and ideas regarding caption and icon lists, see the CaptionList and IconList topic.

Example

Code Block
 // Set a button whose caption is "Hello World" with each word in opposite corners 
CaptionList = "" 
CaptionList<1> = "Hello":@VM:"L":@VM:"T" 
CaptionList<2> = "World":@VM:"R":@VM:"B" 
Set_Property(@Window:".OLE_BUTTON", "OLE.CaptionList", CaptionList)

See Also

CaptionIconList