Applies to

Static control.

Description

Allows the specified control to behave as if it is the title (or caption) bar of a window.

Usage

status = Get_Property (objectname, "DUMMYCAPTION")

status = Set_Property (objectname, "DUMMYCAPTION", state)

Remarks

Boolean value. True, if control is title or caption bar of a window.

To create a miniature caption bar that enables a window to be moved around the screen with the mouse, place a static text control on a form, delete the text which is in the control, and set the background color of the control to the desired caption bar color. In the CREATE event of the window, set the DUMMYCAPTION property for the static text to 1 (true).

  • No labels