Professional Documents
Culture Documents
doc
8.
9.
10.
11.
12.
13.
Name
The Module Name should match the file name.
Set First Navigation Block property of the Module to the name of the
first block that users visit when a form is run. Do not set to a WORLD
or CONTROL block.
Apply the WINDOW property class to all nonmodal windows.
The maximum allowed window size is 7.8 inches wide and 5 inches
high. Any size smaller than this is allowed, down to a minimum of
approximately two inches by two inches.
Apply the WINDOW_DIALOG_WITH_MENU property class to all modal
Windows that need access to the menu (for List of Values).
Use the WINDOW_DIALOG property class to create a modal window
with no access to the toolbar or menu.
Modal windows:
Should always open centered on the screen. They are recentered
each time they are opened.
They cannot be closed with the native GUI window close
mechanism. You must explicitly close the window in your code,
typically with the OK and Cancel buttons.
Canvasses:
You should apply the CANVAS property class to all content
canvasses.
You should size the content canvas the same as the window it is
shown in.
Stacked canvasses should use the CANVAS_STACKED property class
to enforce the correct behavior.
Canvasses Should have the following properties:
No bevels are used around the edge of the canvas.
They use the Canvas color (gray).
Use the BLOCK property class for all nonmodal blocks;
Use BLOCK_DIALOG for blocks displayed within modal windows.
Block Title:
The title should be same as the name of the object it represents.
Titles are singular if the block only displays one record and plural
when more than one record is shown.
A singlerecord block may have a plural title if the user normally
accesses more than one record during a single transaction, and
the block is not shown in a multirecord format elsewhere in the
form.
A horizontal line should be drawn across the entire width of the
content canvas to identify the block. Draw this line on the row
immediately above the block, as follows:
Thickness: 2 points
Bevel: Inset
Line Color: Black
In front of this horizontal line, the block title should display as
follows:
Background color: Canvas (gray)
Horizontal Origin: Left
Vertical Origin: Center
Horizontal Position of Origin: snapped to a grid line, 2
character cells to the right of the left edge of the canvas.
Vertical Position of Origin: snapped midway between grid lines
Alignment: Start
Yes
No
Page 1 of 8
295134444.doc
14.
S.No
15.
16.
17.
18.
19.
20.
Yes
No
Page 2 of 8
295134444.doc
Horizontal Origin: Left
Vertical Origin: Center
Horizontal Position of Origin: snapped to a grid line, 1.5
character cells to the right of the left edge of the region
Vertical Position of Origin: snapped midway between grid
lines
The title should be positioned in front of the rectangle or line.
The title text should include one leading and one trailing space.
The title text should be in boldface type always.
S.No
21.
22.
23.
The widget that displays the title can be any of the following:
Boilerplate (for static region titles)
Display Item, designed to look like boilerplate (for
dynamic region titles)
Poplists (for Alternative Regions)
Check Boxes or Option Groups (for when an entire region
may be applicable or inapplicable)
The region should be bounded by either a rectangle (for a single
record format region) or a line (for a multirecord format region),
and should be displayed with the following characteristics:
Thickness: 2 points
Bevel: Inset
Line Color: Black
Name
Text Item Property Class:
In general, most text items should use the TEXT_ITEM property
class.
Use the TEXT_ITEM_DISPLAY_ONLY property class on fields that do
not allow a user to type, but must support scrolling and or
querying.
Use the TEXT_ITEM_MULTILINE property class on all multiline text
items.
Use TEXT_ITEM_DATE for date fields unless the item is display
only.
Apply the CREATION_OR_LAST_UPDATE property class to the items
containing the WHO date information, CREATION_DATE and
LAST_UPDATE_DATE.
Alignment Rules for Text Items:
Numbers that do not display consistent precision should be Start
Aligned. For example: identification or phone numbers.
Numbers with consistent precision such as quantities and prices
should be Right Aligned.
Textual Values for all conditions should be Start or Center
Aligned
Date Values for all conditions should be Start Aligned
Display Items Property Class:
Use DYNAMIC_TITLE, if an item is used to hold a dynamic title.
Use DYNAMIC_PROMPT, if an item holds a prompt.
Both of these property classes provide a canvas colored background
(gray).
Otherwise, you should apply the DISPLAY_ITEM property class to
your display items (Provides a white background with no bevel).
Yes
No
Page 3 of 8
295134444.doc
24.
25.
26.
27.
S.No
28.
29.
30.
31.
32.
Yes
No
Page 4 of 8
295134444.doc
33.
S.No
34.
35.
36.
37.
38.
Yes
No
Widgets to Avoid:
The following widgets available in Oracle Forms should be avoided
due to either usability problems or crossplatform issues.
Combo Boxes
OLE and VBX controls
Text
a) All text (except text that has a known translated length) must be
able to expand by at least 30%.
b) The 30% rule applies to different types of text as follows:
If prompt on left of field, should leave 30% expansion room to
left of prompt
If prompt above leftjustified fields or lists, should leave 30%
expansion room to right of prompt
If prompt above rightjustified field, should leave 30%
expansion room to left of prompt
If prompt above centerjustified field or check box, should
leave 30% expansion room, divided equally to the left and
right of the prompt (i.e. 15% on each side)
For Buttons, size should be allowed for 30% expansion of the
label + 0.2
For Check boxes in singlerecord blocks, size should be allowed
for 30% expansion of the label + 0.3
Poplists size should be allowed for 30% expansion + 0.5
Page 5 of 8
295134444.doc
Option Groups size every button the same, such that the
widest label can expand 30%
Region Titles size underlying rectangle or line such that title
can expand to the right by 30%
Displayonly fields size should be 30% wider than needed in
English, except for fixedwidth fields (date, time, etc.)
c) All prompts and labels should be in mixed case, except for the
following, which are in lower case:
Articles (such as the)
Coordinate conjunctions (such as and)
Prepositions (such as with)
The to infinitives
These words should, of course, be capitalized when they are at
the beginning of the prompt or label.
39.
S.No
40.
Yes
No
Page 6 of 8
295134444.doc
41.
42.
43.
44.
Page 7 of 8
295134444.doc
45.
46.
Ranges:
Use the terms From and To to identify fields involved in a
range rather than Start and End or Low and High.
Access Keys (Mnemonics):
Controls that need to be operated with direct keyboard access
should provide an Access Key (underlined mnemonic access
character) to invoke them.
Should always provide access keys on the following objects:
All textual buttons, except OK and Cancel (OK is done
by Return and Cancel is done by Escape).
Option buttons or checkboxes that set a mode. Note
that only a check box or option button in a singlerecord
block can have an access key, because the label property
is not used in multirecord blocks.
In order of preference:
First letter of button or of key word.
First letter of the nonkey word
Second letter of button label
A strong letter of the label like.
Should not underline letters with descenders such as y, j, q, or p
as the underline and letter overlap. (y, j, q, or p)
Page 8 of 8