NETVIOS GUI CONTROLS
Input
Date
MonthYear
Month
Year
Size
Dimension
Dimensions
URL
Memo
Color
FilePath
File
Background
Image
IconFile
FolderPath
Users
User
ImageBtn
Password
PasswordP
Button
ButtonQ
CheckBox
CheckBoxQ
DropDown
DropDownQ
DropDownQE
DropDownQA
FontSize
FontStyle
Halign
Valign
Week
FullWeek
Font
PROCESSING OF THE CONTROLS
Input
Draws a textbox to receive the input.
Date
Draws three controls to receive a date input – a two-character textbox for the day, a dropdown for the month and a four-character textbox for the year.
MonthYear
Draws two controls to receive a month and year input –a dropdown for the month and a four-character textbox for the year.
Month
Draws a dropdown to receive an input for the month.
Year
Draws a four-character textbox to receive an input for the year.
Draws a textbox to receive an email input.
Size, Dimension, Dimensions
Draws a textbox to receive an input. The difference between these inputs is in the validation as well as committing to the database. Size input is expected to be an integer while a dimension may be an integer or a percentage.
URL
Draws a textbox to receive an input. In view mode, a link is automatically generated for a URL. Otherwise, this GUItype functions like the Input type.
Memo
Draws a multi-line textbox to receive an input for the year.
Color
Draws an eight-character textbox to receive an input for the color in hex mode. A button is automatically included that pops up color box for selection.
FilePath, File
Draws a textbox to receive an input for a local or external URL. A button is automatically ioncluded linked to the site’s NetVIOS FileManager for selection of a local file or page. If an external URL is entered, an http:// prefix is expected.
Background
Draws a textbox to receive an input for a local or external URL representing a background image. A button is automatically included linked to the site’s NetVIOS FileManager for selection of a local file or page. If an external URL is entered, an http:// prefix is expected.
Image
Draws a textbox to receive an input for a local or external URL representing a background image. A button is automatically included linked to the site’s NetVIOS FileManager for selection of a local file or page. If an external URL is entered, an http:// prefix is expected.
IconFile
Draws a textbox to receive an input for a local or external URL representing an icon image. A button is automatically included linked to the site’s NetVIOS FileManager for selection of a local file or page. If an external URL is entered, an http:// prefix is expected.
FolderPath
Draws a textbox to receive an input for a folder on the current website. A button is automatically included linked to the site’s NetVIOS FileManager for selection of a local folder.
Users,User
Draws a textbox to receive a login name of a site user on the current site. A button is automatically included that pops up the local NetVIOS User Register to allow the selection of a user.
ImageBtn
Draws a textbox to receive a URL for a button. A button is automatically included that pops up the local NetVIOS button library so that the user may select on of NetVIOS’s button.
Password
Draws two password textboxes to set a password. Both textboxes are later verified for exactness. Password textboxes displays a typed input character as an asterisk.
PasswordP
Draws a password textbox to receive a password input. Password textboxes displays a typed input character as an asterisk.
Button
Draws a radio button or set of radio buttons based on the contents of the array in fieldvalue and fieldlist. Fieldvalue will be the value of the button when selected and fieldlist will be the label.
ButtonQ
Draws a radio button or set of radio buttons based on the contents of a select query. The select query must include at least two fields. The first field of the query will be the value of the button when selected and the second field will be the label.
CheckBox
Draws a checkbox or set of checkboxes based on the contents of the array in fieldvalue and fieldlist. Fieldvalue will be the value of the checkbox when selected and fieldlist will be the label.
CheckBoxQ
Draws a checkbox or set of checkboxes based on the contents a select query. The select query must include at least two fields. The first field of the query will be the value of the checkbox when selected and the second field will be the label.
DropDown
Draws a drop-down selection or combo box based on the contents of the array in fieldvalue and fieldlist. Fieldvalue will be the value of the optioins when selected and fieldlist will be the display of each option.
DropDownQ, DropDownQE, DropDownQA
Draws a drop-down selection box based on the contents a select query. The select query must include at least two fields. The first field of the query will be the value of the selected options while the second field will be the display. DropDownQE always includes the option "Every" as a selection while DropDownQA displays the option "All".
FontSize
Draws a drop-down selection box to allow a user select a font size. Font sizes range from 1 to 7. The value displayed is the same as the control value when selected.
FontStyle
Draws a drop-down selection box to allow a user select a font style. The font style selection includes "Bold", "Italic" and "Underline". The value displayed is the same as the control value when selected.
Halign
Draws a drop-down selection box to allow a user select a horizontal alignment. The selection includes "Left", "Center" and "Right". The value displayed is the same as the control value when selected.
Valign
Draws a drop-down selection box to allow a user select a vertical alignment. The selection includes "Top", "Middle" and "Bottom". The value displayed is the same as the control value when selected.
Week, FullWeek
Draws a drop-down selection box to allow a user select a vertical alignment. The selection includes "Mon", "Tue", …. For FullWeek, the days of the week are written in full – "Monday", "Tuesday" …. The value displayed is the same as the control value when selected.
Font
Draws a drop-down selection box to allow a user select a font from NetVIOS’s font list. The list of font to be available is loaded when the OS is launched and is predetermined by the SiteOwner. The value displayed is the same as the control value when selected.
Displaying the Controls
When the viewFormitem function is called rather than the drawFormitem function, the value of the variables are displayed rather than a GUI control. For GUItypes URL, File, FilePath, the underlying URL is automatically linked. For GUItype Image, the image is directly displayed.