Controls

From HTML5 Builder
Jump to: navigation, search

Controls are those components that have a visual representation. That is, by adding a component to a webpage, you are changing the way it looks on the client-side. They all inherit from the Control class.

Usage

Visibility

Most controls have a Visible property you can set to either true or false to decide whether the control should be displayed on the web browser or not.

Since this is a PHP property, invisible controls are not sent to the web browser, hence you cannot, for example, display them back from JavaScript. But you can set Visible property to true, and modify the control’s visibility on the client side.