Creates a right justified text static control in the current active form, window, or dialog.
RText text$, id%, x, y, width, height[, style%]
text$:control text
id%:control identifier
x,y,b,h:iexp
style%:the control styles
RText creates a rectangle with width w% and height h%, whose upper left corner is at the coordinates specified in x% and y%. The text specified in text$ is displayed in this rectangle right justified. ID% is an integer value used to refer to (inquire about) an element. WS_TABSTOP and WS_GROUP are available as style elements.
style Specifies the control styles. This value can be any combination of the following styles: SS_RIGHT, WS_TABSTOP, and WS_GROUP. If you do not specify a style, the default style is SS_RIGHT | WS_GROUP.
Creates a control without an OCX wrapper; so it and cannot be handled using properties, methods, and event subs. When used in a form the WM_COMMAND and WM_NOTIFY messages should be handled in the form's _MessageProc sub.
RText "Filename", 101, 10, 10, 100, 100
creates a right justified text control that is labeled 'Filename'.
This command is particular useful for a dialog box in a GLL, because a GLL doesn't support OCX controls.
With the general Control statement any control type can be created.
Control, AnimateCtrl, AutoCheckBox, AutoRadioButton, CheckBox, ComboBox, CText, Dialog, DefPushButton, EditText, GroupBox, HeaderCtrl, ListBox, ListViewCtrl, LText, ProgressCtrl, PushButton, RadioButton, RichEditCtrl, RText, ScrollBar, StatusCtrl, TabCtrl, ToolBarCtrl, TrackBarCtrl, TreeViewCtrl, UpDownCtrl
{Created by Sjouke Hamstra; Last updated: 22/10/2014 by James Gaite}