comp • gb.web.gui • webform

WebForm (gb.web.gui)

This class represents the different pages and dialogs of your Web application.

This class inherits WebContainer.
This class can be used like an object by creating a hidden instance on demand.
This class is creatable.

Static properties

Static methods
Return or set the current form, i.e. the main form of the application that fills the web page.
Current  
Debug  
Execute some javascript into the browser.
Exec  
Return a WebControl from its identifier.
FromId  
Return a WebControl from its name.
FromName  
Change the current main form.
Goto  
Main  
Print some text to the browser javascript console.
Print  
PrintLog  

Properties

Methods Events
Return or set the how the container arrange its contents.
Arrangement  
Return or set the background color of the control.
Background  
Return or set if the container has a border.
Border  
Return an array of all container's children.
Children  
Return or set the specific CSS classes added to the control.
Class  
Return or set if the control is enabled.
Enabled  
Return or set if the control should expand its size according to its parent arrangement mode.
Expand  
Return or set the specific font of the control.
Font  
Return or set the foreground color of the control.
Foreground  
Return the web form that control belongs to.
Form  
Return or set the minimum height of the form.
H  
Return or set the minimum height of the form.
Height  
Return the server control identifier.
Id  
Return or set if the control must be ignored by its parent container in automatic arrangement mode.
Ignore  
Return or set if the children controls of the container are indented.
Indent  
Return or set if there is a margin between the container border and all its children.
Margin  
Return or set the name of the control, used as an identifier on the client side.
Name  
Return the parent container of the control.
Parent  
Return or set if the form is persistent.
Persistent  
Return if the form is a popup.
Popup  
Return the control that owns the popup.
PopupParent  
Return or set if the form is resizable when used as a dialog.
Resizable  
Return or set if the children of the container are spaced out.
Spacing  
Return a virtual object that allows to define specific style sheet elements of the control.
Style  
Returns or sets the control tag.
Tag  
This title is used as HTML page title if the form is the main form.
Title  
Return or set the tooltip displayed when the mouse cursor hovers the control.
Tooltip  
Return or set if the control is visible.
Visible  
Return or set the minimum width of the form.
W  
Return or set the minimum width of the form.
Width  
Add a specific class to the Class property.
AddClass  
AddHeader  
Add a javascript file to the list of javascript ressources defined by the <style> markups of the page header.
AddJavascriptFile  
Close the form.
Close  
Delete  
Delete all container's children.
DeleteChildren  
HasChildren  
Hide the form.
Hide  
Return if the control or one of its parent is hidden.
IsHidden  
Lower the control.
Lower  
Move and/or resize the form. A main form cannot be moved nor resized.
Move  
Raise the control.
Raise  
Refresh the control.
Refresh  
Reload the form.
Reload  
Remove a specific class from the Class property.
RemoveClass  
Render  
Resize the form. A main form cannot be resized.
Resize  
Set the focus on the control.
SetFocus  
Show the form.
Show  
Show the form as a modal dialog.
ShowModal  
Show the form as a popup.
ShowPopup  
This event is raised when the form is closed.
Close  
This event is raised each time an event is handled by the form.
Event  
This event is raised when the form is opened.
Open  
This event is raised just after the rendering of the control, so that you can add your own HTML contents.
Render