Silverfrost Logo About Us | Contact Us
 

%ca - Caption

Purpose

To provide a caption for the window or property sheet.

Syntax

winio@('%ca[caption]')

Modifiers

Grave accent (`) - when used, the minimum width of the window is not limited by the width of the caption and part of the caption may be hidden.

Description

caption is a standard character string (can be replaced by @).

In order to change the caption dynamically use the @ symbol and follow a change in the string variable by a call to window_update@. Alternatively use the API function SetWindowText together with %hw.

When used with %sh in a property sheet, the caption can include an ampersand (&) to mark an accelerator key.

%mi can be used to set the associated icon.

Example

winio@('%ca[Edit Window]')

See also

%sh - Property Sheet, %mi - Minimised Icon

 

 

 

Copyright © 1999-2017 Silverfrost Limited