WATER COMPONENT FOR HTML5 BUILDER CODE
Tip: To run code when the components is rendered on a web browser, replace = with !=. If ( ( $this -> ControlState & csDesigning ) = csDesigning ) You can repeat the assignation for as many settings as you need: $this -> ControlStyle = "Setting1=Value1" $this -> ControlStyle = "Setting2=Value2" For example, to request that any SpeedButton component on the form is rendered whenever our component is: The rendering settings are assigned to the ControlStyle property, on your component’s constructor, as a string defining a key-value pair: $this -> ControlStyle = "SettingName=Value". Use Internet Explorer’s rendering engine. csWebEngine Web engine to be used when rendering the component: csVerySlowRedraw Variation of csSlowRedraw for heavy components. csTopOffset Displacement (integer) in pixels from the top to be used for the image of the component. csTemplateOutput Whether this component produces valid template output ( true) or not ( false).
![water component for html5 builder water component for html5 builder](https://colorlib.com/wp/wp-content/uploads/sites/2/nitro-free-template.jpg)
csSlowRedraw Whether the component includes JavaScript or any other feature that takes time to redraw ( true) or not ( false). csRenderOwner Whether the owner of the component should be redrawn when redrawing the component ( true) or not ( false). csRenderAlso Comma-separated list of class names for components to be rendered too when rendering this component. csLeftOffset Displacement (integer) in pixels from the left to be used for the image of the component. This is used, for example, for the ZBarcode component. csImageContent Whether the component renders binary data ( true) or text ( false). csDesignEncoding Character encoding to be used when rendering the component. The following settings are available:ĬsAcceptsControls Whether the control can contain other controls inside ( true) or not ( false). When you develop a component, use its ControlStyle property to provide data about the rendering requirements of your component, so the Designer can render it properly.
![water component for html5 builder water component for html5 builder](https://cdn.mos.cms.futurecdn.net/F89EjktvPrvVo6xbiDJQE3.jpg)
For non-visual components, a 32×32 pixel button with component’s icon will be rendered on the Designer.If the component outputs a binary image file, the image will represent the component on the Designer.The JavaScript code of the component will also be read. If the component has a visual representation in HTML, it will be rendered on the Designer as it would be seen on a web browser after deployment.Then it will be displayed on the Designer: When adding a component to the Designer, the component will be processed in the background. You can also improve the way HTML5 Builder handles the rendering of your components or interacts with them implementing some HTML5 Builder-specific features in your component’s source code.
WATER COMPONENT FOR HTML5 BUILDER INSTALL
To make it possible to install your components on HTML5 Builder, you need to create a package that provides detailed information about your components and the way they should be managed.