Fullscreen
Loading...
 
[Show/Hide Left Column]
[Show/Hide Right Column]

(Cached)
Refresh Print

Insert Menu Functions

Function

 

Description

Break

 

Inserts an HTML <BR> command at the cursor location.

NonR11;breaking Space

 

Inserts an HTML   command at the cursor location.

Horizontal Line

 

Inserts an HTML <HR> command at the cursor location.

Comment

 

Displays the Insert Comment dialog. The dialog inserts the text that you type at the cursor location. The text is surrounded by HTML <!-- and --> commands.

Symbol

 

Displays the ASCII Codes dialog. The dialog inserts the selected character at the cursor location.

Form

 

Inserts a form element at the cursor location. The options are:

  • Form

  • Textbox

  • Text Area

  • File Upload

  • Checkbox

  • Radio Button

  • Drop-down List

  • Submit Button

  • Push Button

  • Advanced Button

  • Picture

Image

Displays the Select Image dialog. The dialog inserts the selected image with the following HTML code: <img src=" Image_Name ">.

Bookmark

 

Displays the Bookmark dialog. The dialog inserts the bookmark name with the following HTML code: <a name=" Bookmark_Name "></a>.

Hyperlink

Displays the Hyperlink dialog. The dialog inserts the hyperlink URL and its description with the following HTML code: <a href=" URL "> URL_Description </a>.

ASW Code

Displays the Insert ASW Code dialog. The dialog inserts the Xbasic code with the following syntax: <%a5 Xbasic_Code %>.

Web Component

Displays the Insert Component dialog. The command is only available on the WYSIWYG tab after the page has been saved at least once.

ActiveX Control

Displays the Insert ActiveX Control dialog. The dialog inserts the selected ActiveX control wrapped the following HTML code: <object> ... </object>. Note that most ActiveX controls have additional parameter values that need to be set before they are functional.

Inserting a Comment

To insert a comment:

  1. Position the cursor where the comment should be placed (not between the "<" and ">" of a formatting tag).

  2. Select Insert > Comment.

  3. Type your comment and click OK.

Inserting a Hyperlink

To insert a hyperlink:

  1. Select Insert > Hyperlink to display the Hyperlink dialog.

  2. Select the Type of protocol to use.

  3. Enter the URL.

  4. Click OK to apply your selections or Cancel to discard them.

Inserting an Image

To insert an image:

  1. Position your cursor at the point where the image should be inserted.

  2. Select Insert > Image to display the <span class=Screen>Select Image</span> dialog.

  3. Click OK to apply your selection.

Inserting Forms

To insert a form into your HTML page:

  1. Display the WYSIWYG tab of your HTML Editor window.

  2. Place your cursor at the insert point.

  3. Select Insert > Form and select the type of control to place inside the form. The options are:

    • Form

    • Textbox

    • Textarea

    • File Upload

    • Check box

    • Radio Button

    • Drop Down List

    • Submit Button

    • Push Button

    • Advanced Button

    • Picture

The entries you see above produce the following HTML code.

Form Element

Appearance

Inserted Code

Form

<FORM method="post"><INPUT type="submit" value="Submit"><INPUT type="reset" value="Reset"></FORM>

Textbox

<FORM method="post"><INPUT id="textbox1" name="textbox1" ></FORM>

Text Area

<FORM method="post"><TEXTAREA id=textarea1 name=textarea1></TEXTAREA></FORM>

File Upload

<FORM method="post" enctype="multipart/form-data"><INPUT type="file" name="upload1" id="upload1"><BR ><INPUT type="submit" name="upload1Submit" value="Upload File"></FORM>

Checkbox

><FORM method="post"><INPUT type="checkbox" id="checkbox1" name="checkbox1" value=".t."></FORM>

Radio Button

<FORM method="post"><INPUT type="radio" id="radio1" name="radio1" value=".t."></FORM>

Drop-down List

<FORM method="post"><SELECT id="dropdown1" name="dropdown1"></SELECT></FORM>

Submit Button

<FORM method="post"><INPUT type="submit" id="submit1" name="submit1" value="Submit Query"></FORM>

Push Button

<FORM method="post"><INPUT type="button" id="button1" name="button1"></FORM>

Advanced Button

<FORM method="post"><BUTTON id="button_adv1" name="button_adv1"></BUTTON></FORM>

Picture

<FORM method="post"><INPUT type="image" id="image1" name="image1" src=" Image_Name "></FORM>

Inserting an ActiveX Control

To insert an ActiveX control into a HTML or .A5W page.

  1. Position the cursor in the HTML file.

  2. Select Insert > ActiveX Control to display the Insert ActiveX Control dialog.

  3. Select a control and click Insert.

  4. If necessary, define properties for the control.

  5. Click OK.

Inserting A5W Code

A5W code is embedded Xbasic code that connects an HTML page to Alpha Five, enabling the display and modification of data. To insert A5W code:

  1. Display the Source tab of your HTML Editor window.

  2. Position the cursor at the code insertion point.

  3. Click or select Insert > A5W Code to display the Insert A5W Code dialog.

  4. Enter the Xbasic code and press OK.

The Xbasic code above was formatted as follows.

<%A5

dim tbl as P

tbl = table.open("customer")

%>

Inserting and Deleting Web Components

For information about inserting and deleting web components into and from HTML pages (which must be saved now with the .A5W extension), refer to Building ASW Web Pages.

Supported By

Alpha Five Version 8 Professional Edition and Above

Limitations

Web publishing applications only.

See Also

Using the HTML Editor


Created by admin. Last Modification: Thursday 03 of January, 2013 10:40:41 EST by cianchambliss.

(Cached)
Refresh Print