2.0
Table Of Contents
- Introduction
- Installation and Setup
- Tutorials
- Views and Form Usage
- OmniForm Procedures
- Designing a Form
- The Design Process
- The Design View Toolbars
- Creating Objects
- General Creation Guidelines
- Creating a Text Object
- Creating a Line Object
- Creating an Oval Object
- Creating a Rectangle Object
- Creating a Graphic Object
- Creating a Fill Text Object
- Creating a Comb Object
- Creating a Check Box Object
- Creating a Circle Text Object
- Creating a Table Object
- Creating a Fill Graphic Object
- Defining Objects
- Changing Object Appearance
- Redesigning Your Form
- Using the Scrapbook
- Inserting OLE Objects in a Form
- Filling a Form
- Managing an OmniForm Database
- Using Calculations
- Calculation Overview
- Operators
- Functions
- Abs (Absolute Value)
- Avg (Average)
- Date (Current Date)
- DayName
- DayOfMonth
- DayOfWeek
- DayOfYear
- Exp (Exponentiation)
- FV (Future Value)
- Hour
- If
- Int (Integer)
- Left
- Length
- Ln (Natural Logarithm)
- Log (Base 10 Logarithm)
- Lower
- Max (Maximum)
- Middle
- Min (Minimum)
- Minute
- Mod (Modulus (Remainder))
- Month
- MonthName
- Pi
- PMT (Payment)
- Position
- Proper
- PV (Present Value)
- RecordCount
- Replace
- Replicate
- Right
- Round
- Second
- Sign
- Sqrt (Square Root)
- Sum
- Time
- Trim
- Trunc (Truncate)
- Upper
- Year
- Functions — Quick Reference
- Functions Sorted by Type
- Technical Information
- Glossary
Tutorial 3 — Design Your Own Form
Tutorials - 53
2 Draw a box in the upper right corner of the form.
You will import a graphic into this field in fill view later in the
tutorial.
Graphic Object
1 Click the graphic tool in the drawing toolbar.
2 It is below the Rectangle tool.
3 Draw a box in the lower right corner of the form.
4 With the object still selected, click the Object Definition button
or choose
Object Definition...
in the Format menu.
The Graphic Definition dialog box appears.
• Click
Browse
to open the Browse dialog box.
• Locate the Logo file in the OmniForm\Sample Forms folder
(omniform\samples in Windows 3.1) and click
Open.
•Select
Scale Proportionately
in the
Options
drop-down list.
5 Click
OK.
The graphic is imported into the object you drew and scaled to
fit in the box while maintaining its original proportions. You
could place your own graphic or logo in this object instead.
Define the Calculations
The final objects on this form are fill text objects that have calculations
defined on them. In fill view, these fields become part of a calculation
that determines the profit this user makes on each job after expenses.
These calculations are very simple but you have the ability to create
much more complex ones. See Chapter 9, Using Calculations, for
detailed information.