| superclass(es) | window |
| subclass(es) | - |
| description | Panel windows are windows that can be placed inside a frame window. A panel window can be used for placing controls on and for drawing on it. |
| see also | frame - sizer - control |
A panel window must always be placed inside a frame window. The frame class has two methods that create panels inside a frame window, they are; createSinglePanel/2 and createDoublePanel/3. Each panel window has a sizer, the purpose of the sizer instance is to automatically adjust the dimensions of the panel window when the frame window is being resized. The method putSizer/1 assigns a sizer to a panel window. The panel class has a collection of methods to create child window
control, all these methods start with the word add... and then the name
of the class of the control, for instance addButton/7. For each
type of control that can be added to a panel window several methods exist, usually one
method can set the name of an instance and returns the new instance by a parameter,
another version sets the name but does not return the instance and the last version does
not set the name nor does it return the new instance. The three methods to add a label
control are: |
| func | Create a panel window. |
| pre | The Parent variable must always refer to a frame window. |
| post | If the panel was successfully created then is true assigned to Output. |
create(Parent, X, Y, Width, Height, Output)
| func | Create a panel window at the specified position with the specified dimensions. The coordinates X, Y, Width and Height determine the dimensions, in window coordinates, of the window. |
| pre | The Parent variable must always refer to a frame window. X, Y, Width and Height must contain integer values. |
| post | If the window was successfully created then true assigned is to Output, else false is assigned |
| func | Assign a sizer to the panel window. |
| pre | Input must refer to an instance of the class sizer or a class derived from sizer. |
| post | The panel is controlled by the new sizer instance. |
| func | Return the sizer of the panel window. |
| pre | TRUE. |
| post | If the panel window has a sizer then Output is assigned the sizer. If the panel window has no sizer then no value is assigned to Output. |
| func | Get the current background color of the panel. |
| pre | TRUE. |
| post | The red, green and blue values of the color were unified with the values of the variables R, G and B. |
| func | Set the current background color, this color is used to fill the background area of the panel. |
| pre | The variables R, G and B must contain integer values which must be in the range [0, 255]. |
| post | The current background color of the panel was changed to the color specified by the values of the variables. |
addLabel(X, Y, Width, Height, Text, Output)
| func | Create a new label control on the panel window at the specified position, the width, height and text. The text in the label with left aligned. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text variable must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabel(X, Y, Width, Height, Text, Name, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label with left aligned. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabel(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label with left aligned. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addLabelCenter(X, Y, Width, Height, Text, Output)
| func | Create a new label control on the panel window at the specified position, the width, height and text of the label can be specified. The text in the label will be centered. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text variable must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabelCenter(X, Y, Width, Height, Text, Name, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label will be centered. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabelCenter(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label will be centered. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addLabelRight(X, Y, Width, Height, Text, Output)
| func | Create a new label control on the panel window at the specified position, the width, height and text of the label can be specified. The text in the label is aligned to the right side of the control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text variable must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabelRight(X, Y, Width, Height, Text, Name, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label is aligned to the right side of the control. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addLabelRight(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new label control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label is aligned to the right side of the control. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the label control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addButton(X, Y, Text, Name, Output)
| func | Create a new button control on the panel window at the specified position, the text and name of the button can be specified. The button created is not a default button and the width and height are set to default values. The value of the Name variable will be used to rename the new button control. |
| pre | The variables X and Y must contain integer values, the Text and Name variables must contain a string value. |
| post | If the button control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addButton(X, Y, Text, Name, Ctrl, Output)
| func | Create a new button control on the panel window at the specified position, the text and name of the button can be specified. The button created is not a default button and the width and height are set to default values. The value of the Name variable will be used to rename the new button control. |
| pre | The variables X and Y must contain integer values, the Text and Name variables must contain a string value. |
| post | If the button control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addButton(X, Y, Width, Height, Text, Name, Output)
| func | Create a new button control on the panel window at the specified position, the width, height, text and the name of the button can be specified. The button created is not a default button. The value of the Name variable will be used to rename the new button control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the button control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addButton(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new button control on the panel window at the specified position, the width, height, text and the name of the button can be specified. The button created is not a default button. The value of the Name variable will be used to rename the new button control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the button control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addRadioButton(X, Y, Width, Height, Text, Name, Output)
| func | Create a new radiobutton control on the panel window at the specified position, the width, height and the text of the radiobutton can be specified. The value of the Name variable will be used to rename the new radiobutton control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the radiobutton control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addRadioButton(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new radiobutton control on the panel window at the specified position, the width, height and the text of the radiobutton can be specified. The value of the Name variable will be used to rename the new radiobutton control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the radiobutton control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addRadioButtonStartGroup(X, Y, Width, Height, Text, Name, Output)
| func | Create a new radiobutton control on the panel window at the specified position, the width, height, text and the name of the radiobutton can be specified. The control marks the start of a new group of radiobuttons, there can be only one selected radiobutton in a group of radiobuttons. The value of the Name variable will be used to rename the new radiobutton control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the radiobutton control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addRadioButtonStartGroup(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new radiobutton control on the panel window at the specified position, the width, height, text and the name of the radiobutton can be specified. The control marks the start of a new group of radiobuttons, there can be only one selected radiobutton in a group of radiobuttons. The value of the Name variable will be used to rename the new radiobutton control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the radiobutton control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addCheckBox(X, Y, Width, Height, Text, Name, Output)
| func | Create a new checkbox control on the panel window at the specified position, the width, height, text and the name of the checkbox control can be specified. The value of the Name variable will be used to rename the new checkbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the checkbox control was created true was assigned to Output, else was assigned. |
addCheckBox(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new checkbox control on the panel window at the specified position, the width, height, text and the name of the checkbox control can be specified. The value of the Name variable will be used to rename the new checkbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the checkbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was assigned. |
addCheckBoxThreeState(X, Y, Width, Height, Text, Name, Output)
| func | Create a new checkbox control on the panel window at the specified position, the width, height, text and the name of the checkbox can be specified. The checkbox created is one that can have three states (checked, unchecked or grayed). The value of the Name variable will be used to rename the new checkbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the checkbox control was created true was assigned to Output, else if there was an error false was assigned to Output. The checkbox created is in the unchecked state. |
addCheckBoxThreeState(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new checkbox control on the panel window at the specified position, the width, height, text and the name of the checkbox can be specified. The checkbox created is one that can have three states (checked, unchecked or grayed). The value of the Name variable will be used to rename the new checkbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the checkbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. The checkbox created is in the unchecked state. |
addGroupBox(X, Y, Width, Height, Text, Name, Output)
| func | Create a new groupbox control on the panel window at the specified position, the width, height, text and the name of the groupbox control can be specified. The value of the Name variable will be used to rename the new groupbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the groupbox control was created true was assigned to Output, else was false assigned. |
addGroupBox(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new groupbox control on the panel window at the specified position, the width, height, text and the name of the groupbox control can be specified. The value of the Name variable will be used to rename the new groupbox control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the groupbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was false assigned. |
addScrollBar(X, Y, Width, Height, Name, Output)
| func | Create a new horizontal scrollBar control on the panel window at the specified position, the width, height and name of the scrollbar control can be specified. The value of the Name variable will be used to rename the new scrollbar control. |
| pre | The variables X, Y, Width and Height must contain integer values. The Name variable must contain a string value. |
| post | If the scrollbar control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addScrollBar(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new horizontal scrollBar control on the panel window at the specified position, the width, height and name of the scrollbar control can be specified. The value of the Name variable will be used to rename the new scrollbar control. |
| pre | The variables X, Y, Width and Height must contain integer values. The Name variable must contain a string value. |
| post | If the scrollbar control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addScrollBarVertical(X, Y, Width, Height, Name, Output)
| func | Create a new vertical scrollBar control on the panel window at the specified position, the width, height and name of the scrollbar control can be specified. The value of the Name variable will be used to rename the new scrollbar control. |
| pre | The variables X, Y, Width and Height must contain integer values. The Name variable must contain a string value. |
| post | If the scrollbar control was created true was assigned to Output, else was false assigned. |
addScrollBarVertical(X, Y, Width, Height, Name, Ctrl, Output)/7
| func | Create a new vertical scrollBar control on the panel window at the specified position, the width, height and name of the scrollbar control can be specified. The value of the Name variable will be used to rename the new scrollbar control. |
| pre | The variables X, Y, Width and Height must contain integer values. The Name variable must contain a string value. |
| post | If the scrollbar control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was false assigned. |
addEdit(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the edit control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addEdit(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the edit control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addEditPassword(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new password edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The characters entered in a password edit control are not made visible on the screen. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the password edit control was created true was assigned to Output, else was false assigned. |
addEditPassword(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new password edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The characters entered in a password edit control are not made visible on the screen. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the password edit control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was false assigned. |
addEditReadOnly(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new read-only edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The user can not edit the characters in a read-only edit control. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the read-only edit control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addEditReadOnly(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new read-only edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The user can not edit the characters in a read-only edit control. The value of the Name variable will be used to rename the new edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the read-only edit control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addMemo(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new memo control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new memo control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the memo control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addMemo(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new memo control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new memo control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the memo control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addMemoReadOnly(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new read-only memo control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The user can not edit the characters in a read-only memo control. The value of the Name variable will be used to rename the new memo control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the read-only memo control was created true was assigned to Output, else was false assigned. |
addMemoReadOnly(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new read-only memo control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The user can not edit the characters in a read-only memo control. The value of the Name variable will be used to rename the new memo control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the read-only memo control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was false assigned. |
addListBox(X, Y, Width, Height, Name, Output)
| func | Create a new listbox control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addListBox(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new listbox control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addListBoxSorted(X, Y, Width, Height, Name, Output)
| func | Create a new sorted listbox control on the panel window at the specified position, the width, height and name can be specified. All the items in the list are sorted alphabetically. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addListBoxSorted(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new sorted listbox control on the panel window at the specified position, the width, height and name can be specified. All the items in the list are sorted alphabetically. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addListBoxMultiple(X, Y, Width, Height, Name, Output)
| func | Create a new listbox control on the panel window at the specified position, the width, height and name can be specified. All the items in the list are sorted alphabetically. More than one item can be selected in the listbox. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addListBoxMultiple(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new listbox control on the panel window at the specified position, the width, height and name can be specified. All the items in the list are sorted alphabetically. More than one item can be selected in the listbox. The value of the Name variable will be used to rename the new listbox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the listbox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addComboBox(X, Y, Width, Height, Text, Name, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addComboBox(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addComboBoxSorted(X, Y, Width, Height, Text, Name, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. The items in the list of the combobox are sorted. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addComboBoxSorted(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. The items in the list of the combobox are sorted. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addComboBoxList(X, Y, Width, Height, Text, Name, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. No items can be edited in the edit control of the combobox, it is only possible to select items from the list. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addComboBoxList(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new combobox control on the panel window at the specified position, the width, height and name can be specified. No items can be edited in the edit control of the combobox, it is only possible to select items from the list. The specified height for the control must include the height of an opened combobox list, a default value is used for the height of the edit control of the combobox. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string value. |
| post | If the combobox control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addGrid(X, Y, Width, Height, Name, Output)
| func | Create a new grid control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new combobox control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the grid control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addGrid(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new grid control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new grid control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the grid control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addTabBook(X, Y, Width, Height, Name, Output)
| func | Create a new tabBook control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new tabbook control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the tabbook control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addTabBook(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new tabBook control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new tabbook control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the tabbook control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addImageButton(X, Y, Width, Height, Name, Output)
| func | Create a new imageButton control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new imageButton control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the imageButton control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addImageButton(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new imageButton control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new imageButton control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the imageButton control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addHtmlLink(X, Y, Width, Height, Name, Output)
| func | Create a new htmlLink control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new htmlLink control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the htmlLink control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addHtmlLink(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new htmlLink control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new htmlLink control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string value. |
| post | If the htmlLink control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addMaskEdit(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new mask edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new mask edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addMaskEdit(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new mask edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The value of the Name variable will be used to rename the new mask edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addMaskEditPassword(X, Y, Width, Height, Text, options(Alignment, Case), Name, Output)
| func | Create a new password mask edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The characters entered in a password mask edit control are not made visible on the screen. The value of the Name variable will be used to rename the new mask edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the password mask edit control was created true was assigned to Output, else was false assigned. |
addMaskEditPassword(X, Y, Width, Height, Text, options(Alignment, Case), Name, Ctrl, Output)
| func | Create a new password mask edit control on the panel window at the specified position, the width, height, text, name, alignment and case options of the control can be specified. The characters entered in a password mask edit control are not made visible on the screen. The value of the Name variable will be used to rename the new mask edit control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variables Text and Name must contain a string and the variable Alignment must contain one of the following values: left, center or right. The Case variable must contain normal, upper or lower. |
| post | If the password mask edit control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else was false assigned. |
addRaisedLabel(X, Y, Width, Height, Text, Output)
| func | Create a new raisedLabel control on the panel window at the specified position, the width, height and text. The text in the label with left aligned. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text variable must contain a string value. |
| post | If the control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addRaisedLabel(X, Y, Width, Height, Text, Name, Output)
| func | Create a new raisedLabel control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label with left aligned. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the control was created true was assigned to Output, else if there was an error false was assigned to Output. |
addRaisedLabel(X, Y, Width, Height, Text, Name, Ctrl, Output)
| func | Create a new raisedLabel control on the panel window at the specified position, the width, height, text and name of the label can be specified. The text in the label with left aligned. The value of the Name variable will be used to rename the new label control. |
| pre | The variables X, Y, Width and Height must contain integer values, the Text and Name variables must contain a string value. |
| post | If the control was created true was assigned to Output and the new instance was assigned to the variable Ctrl, else if there was an error false was assigned to Output. |
addTreeView(X, Y, Width, Height, Name, Output)
| func | Create a new treeView control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new treeview control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the treeview control was successfully created then the Output parameter was unified with true else with false. |
addTreeView(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new treeView control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new treeview control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the treeview control was successfully created then the Output parameter was unified with true else with false. |
addLine(X, Y, Width, Height, Name, Output)
| func | Create a new line control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new line control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the line control was successfully created then the Output parameter was unified with true else with false. |
addLine(X, Y, Width, Height, Name, Ctrl, Output)
| func | Create a new line control on the panel window at the specified position, the width, height and name can be specified. The value of the Name variable will be used to rename the new line control. |
| pre | The variables X, Y, Width and Height must contain integer values. The variable Name must contain a string. |
| post | If the line control was successfully created then the Output parameter was unified with true else with false. |