# Hypertext Controls

This is a customised flat button that has an underlined text field and the cursor changes to the Url hand image when passed over the control. This style is similar to many web-linked documents and the user may wish to emulate this effect by calling openDocument() inside the control handler.
Copy

    function openDocument(sequence target)

`target` is the document target and when this function is invoked it will action the link using whatever executable program is currently associated with the document. The document target could be any sort of file and it will be executed by the application that Windows associates with the document type. A user could open a bitmap file in MS Paint; a txt file in NotePad; a Web page in the default browser; even open a blank email, put some text in it ready to send to a recipient.