Try OpenEdge Now
skip to main content
GUI for .NET Mapping Reference
Mapping Reference Entries : OpenEdge GUI behavior compared to OpenEdge GUI for .NET behavior
 

OpenEdge GUI behavior compared to OpenEdge GUI for .NET behavior

The following table lists mechanisms for a variety of common behaviors that are available with the OpenEdge GUI, and for each such mechanism, it lists one or more OpenEdge GUI for .NET mechanisms that provide identical or similar behavior.
Table 5. OpenEdge GUI behavior compared to OpenEdge GUI for .NET behavior
OpenEdge GUI behavior
OpenEdge GUI for .NET behavior
ALWAYS-ON-TOP attribute
TopMost property on a .NET form or control.
APPLY 'ENTRY' statement
Focus( ) method on a .NET control.
AUTO-END-KEY attribute
CancelButton property on Progress.Windows.Form, which specifies the button clicked when the user presses the Esc key.
AUTO-GO attribute
Assign( ) method on a Progress.Data.BindingSource object.
BGCOLOR attribute
BackColor property on a .NET control. The value is a System.Drawing.Color object.
CANCEL-BUTTON attribute
CancelButton property on Progress.Windows.Form, which specifies the button clicked when the user presses the Esc key.
DEFAULT-BUTTON attribute
AcceptButton property on Progress.Windows.Form, which specifies the button clicked when the user presses the Enter key.
DISABLE statement
Enabled property on a .NET for or control.
DROP-TARGET attribute
AllowDrop property on a .NET form or control.
COLUMN (X) and ROW (Y) attributes
Location property on any .NET control. The value is a System.Drawing.Location object. A Left property, Top property, and Right property is also available on .NET forms and controls.
ENABLE statement
Activate( ) or Focus( ) method on a .NET form or control.
EXTENT statement executed on an ABL indeterminate array or an ABL determinate array assigned to an ABL indeterminate array; and the EXTENT function to return the size of that ABL array
An INTEGER parameter on the static CreateInstance( ) method on System.Array to set the size of a newly-created one-dimensional .NET array, and the Length property (or GetLength( ) method) on an instance of the .NET array class to return that value.
FGCOLOR attribute
ForeColor property on a .NET form or control. The value is a System.Drawing.Color object.
FONT attribute
Font property on a .NET form or control. The value is a System.Drawing.Font object.
GET-TEXT-WIDTH-PIXELS( ) method
MeasureText( ) method of the System.Windows.Forms.TextRenderer class to obtain the size of a given character string in a given font; or the AutoSize property, which you can set to TRUE on a control that you want to resize itself based on its contents.
HIDDEN attribute
Visible property on a .NET form or control.
HEIGHT-* and WIDTH-* attributes
Size property on a .NET form or control. The value is a System.Drawing.Size object. A Height property and Width property is also available on .NET forms and controls.
HIDE statement
Hide( ) method on a .NET form or control.
ICON attribute
Icon property on a .NET form. The value is a System.Drawing.Icon object.
ON event statement
OpenEdge GUI for .NET Subscribe( ) method—invoked using the following general syntax: publisher-objref:event-name:Subscribe( method-or-procedure ).
MOUSE-POINTER attribute
Cursor property on the .NET form or control.
MOVABLE attribute
DoDragDrop( ) method on a .NET control.
MOVE-AFTER-TAB-ITEM( ) andMOVE-BEFORE-TAB-ITEM( ) methods
TabIndex and TabStop properties of a .NET control.
MOVE-TO-BOTTOM( ) method
SendToBack( ) method on a .NET form or control.
MOVE-TO-TOP() method
BringToFront( ) method on a .NET form or control.
PARENT attribute
Owner property on a .NET form.
PRIVATE-DATA attribute
Tag property on a .NET form or control. The value is a System.Object, which can be any type of .NET data.
READ-ONLY attribute
ReadOnly property on the .NET control.
RESIZABLE attribute
Locked property on a form or control design component in the Visual Designer of Progress Developer Studio for OpenEdge.
RETURN NO-APPLY statement/option
Cancel property in a System.ComponentModel.CancelEventArgs object, which is passed as a parameter to a cancellable event handler, such as for the Validating event of a System.Windows.Forms.Button or other .NET control.
ROW (Y) and COLUMN (X) attributes
See the COLUMN (X) and ROW (Y) attributes in this table.
SCREEN-VALUE attribute
Text property on a .NET control.
SELECTABLE attribute
Locked property on a form or control design component in the Visual Designer of Progress Developer Studio for OpenEdge.
SENSITIVE attribute
Enabled property on a .NET form or control.
TITLE attribute
Text property on a .NET form or control.
TOOLTIP attribute
Add the UltraToolTipManager component to a form. Set the ToolTipText property on the UltraToolTipInfo object instantiated for the .NET control.
TOP-ONLY attribute
No similar .NET behavior.
VIEW statement
Show( ) method on a .NET form or control. Requires an active OpenEdge GUI for .NET WAIT-FOR statement in order for a form and its controls to become visible.
VISIBLE attribute
Visible property on a .NET form or control.
WIDTH-* and HEIGHT-* attributes
See the HEIGHT-* and WIDTH-* attributes in this table.
Widget labels
Text property on a .NET control. Also, the System.Windows.Forms.Label control or the Infragistics Win.Misc.UltraLabel control.
Widget siblings
NEXT-SIBLING property and PREV-SIBLING property on all class instances, including .NET objects
Widget tab order
See the MOVE-AFTER-TAB-ITEM( ) and MOVE-BEFORE-TAB-ITEM( ) methods in this table.
Widget Z order
See the MOVE-TO-BOTTOM( ) method or MOVE-TO-TOP() method in this table.