Using the PowerBuilder menu

PowerBuilder menu items can be used to add new content or modify existing content and formatting in Page or Source view.

Table 3-3: PowerBuilder menu items for adding or formatting page content

Menu item

Type of content

Description of new or existing page content

Format

Paragraph formatting

You use the Format menu to choose a paragraph style for the current paragraph. When you choose a style, the editor puts HTML tags like P, H1, PRE, or ADDRESS around the paragraph. The tags are visible in Source view.

Character formatting

The Character menu item lets you change the font and apply bold and italic to selected text.

Table

HTML tables

Launch the table wizard to add a table to your page in Page or Source view. You can also modify table settings and formatting for the table (or table items) you select in Page view.

Insert

Non-text content

Lets you add line breaks, rules, images, and components such as Java applets, ActiveX controls, and data for plug-ins. You can use DataWindow design-time controls (DTC) to generate and edit database forms, application server access, and more.

Position

Content positioning

Lets you turn on absolute positioning for certain kinds of HTML elements. Use absolute positioning to place elements anywhere on the two-dimensional space of your page just by dragging them.

Edit

Document, control, or paragraph information

Select the Properties menu to view and set default information for the document, selected control, or selected paragraph.

Style sheet links

Select the Global Style Sheet menu item to select an external link to a style sheet and include embedded styles in the Head section of the page.

NoteDo not format empty paragraphs When you use the Format>Paragraph dialog box in Page view, do not format empty paragraphs. Type some text and then apply the format. Otherwise, the format you choose will be discarded.