HideSnaked

Description

Whether the control appears only once per page when you print the DataWindow using the newspaper columns format.

Applies to

Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.HideSnaked

Describe and Modify argument:

"controlname.HideSnaked { = ' value ' }"

Parameter

Description

controlname

The name of the control for which you want to get or set the HideSnaked setting.

value

(exp) Whether the control appears once or multiple times in the printed output when the output has multiple columns (like a newspaper).

Values are:

  • 1 – The control will appear only once on a page.

  • 0 – The control will appear in each column on a page.

Value can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties view, General tab, HideSnaked check box.

Examples

Example 1

string setting

setting = dw1.Object.graph_1.HideSnaked

dw1.Object.text_title.HideSnaked = "1"

Example 2

setting = dw1.Describe("graph_1.HideSnaked")

dw1.Modify("text_title.HideSnaked=1")