FocusRectangle
property (DataWindow object)
Description
Whether a rectangle displays around the selected control.
Applies to
Column, Computed Field, Graph, OLE Object, OLE Database Blob,
Picture, and Text controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.FocusRectangle |
Describe and Modify argument:
|
1 |
"controlname.FocusRectangle = value" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the control for which you want to show |
|
value |
Whether the focus rectangle appears when the
|
Usage
In the painter
Select the control and set the value in the Properties view, Edit
tab, Show Focus Rectangle option.
Examples
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
String ls_DataObject string ls_focus, ls_focus1 ls_DataObject= dw_1.DataObject If ls_DataObject = "d_dept" Then dw_1.Modify("t_1.focusrectangle = " + "yes") ls_focus = dw_1.describe("t_1.focusrectangle") ls_focus1 = dw_1.object.t_1.focusrectangle Else dw_1.Modify("gr_1.focusrectangle = " + "yes") ls_focus = dw_1.describe("gr_1.focusrectangle") ls_focus1 = dw_1.object.gr_1.focusrectangle End If messagebox(ls_focus, ls_focus1) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest