This statement is deprecated in AppStudio 6. Put the statements inside your Style...End Style block into Project CSS, in the Project menu.
It will be subject to all the regular rules of page formatting. If some other element is on top of it, it will not be visible. The z-index property can be used to change the hierarchy of where the element gets drawn.
'This sample shows how to add a button at runtime. HTML <button onmousedown="button1()">Button 1</button> <div id="box">Box</div> End HTML Sub Main() 'Hide the form, otherwise our elements will be hidden by it Form1.hide() End Sub Function button1() box.innerHTML= event.screenX & ", " & event.screenY End Function
(a button and a box are displayed. Click the button and text is put in the box)