Enabled DataWindow object property
Description
Determines whether
a control in a DataWindow is enabled.
Controls
Button, Computed Field, Graph, InkPicture, OLE Database Blob,
OLE Object, Picture, and Text controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>buttonname.</span>Enabled |
Describe and Modify argument:
1 |
"<span>buttonname.</span>Enabled { = '<span> value</span> ' }" |
Parameter |
Description |
---|---|
buttonname |
The name of the button that you want |
value |
Whether the button is enabled. Values are:
|
Usage
In the painter
Select the control and set the value in the Properties view General
tab, Enabled option.
When the Enabled check box is cleared, or the Enabled property
is otherwise set to false, the button control is grayed and its
actions are not performed.
Examples
1 |
dw1.Object.b_name.Enabled = "No" |
1 |
setting = dw1.Describe("b_name.Enabled") |
1 |
dw1.Modify("b_name.Enabled ='No'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest