DisplayPageAttribute class | QSYS API Reference Guide
Defines a Display Page Attribute
Namespace: ASNA.QSys.Expo.Model Assembly: ASNA.QSys.Expo.Model.dll
Inheritance: Object –> Attribute
Remarks
Model Record classes may be annotated with attributes to specify meta-data to control the Display page.
For example,
[
SubfileControl(
FunctionKeys = "F9 09;PageUp 51:!76;PageDown 50:!77"
)
]
public class SFLC_Model : SubfileControlModel
{
Specifies that the SubfileControl
named SFLC enables F9
, PageUp
and PageDown
keys (F9
always, PageUp
conditioned to Option Indicator not 76 and PageDown
conditioned to Option Indicator not 77), with the Response indicators 09, 51 and 50 to turn on (when such key is pressed). Since this attribute is for “Function Keys” (as opposed to “AttentionKeys”) then, Input Data
is transmitted from the browser to the server.
Properties
Type | Name | Description |
---|---|---|
String | AttentionKeys | Gets or sets the valid Attention Key collection as a semi-colon separated list of key expressions. Each expression has the form: key result-indicator : option-indicator. To negate option-indicator precede indicator with ! |
Int32 | CommandKeyIndicator | Gets or sets the Command Key indicator number |
String | FunctionKeys | Gets or sets the valid Function Key collection as a semi-colon separated list of key expressions. Each expression has the form: key result-indicator : option-indicator. To negate option-indicator precede indicator with ! |
Methods
Signature | Description |
---|---|
GetFrom(Type) | Gets a DisplayPageAttribute of a particular type from the custom attributes. |
DisplayPageAttribute GetFrom(Type type)
Gets a DisplayPageAttribute of a particular type from the custom attributes.
DisplayPageAttribute GetFrom(Type type)
Parameters
Type | Parameter name | Description |
---|---|---|
Type | type | Object type |
Returns
Type | Description |
---|---|
DisplayPageAttribute | The attribute |