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
Inserting OLE Objects in a Form
Designing a Form - 170
Creating a New OLE Object
See the previous section, “How to Insert OLE Objects” on page 169 if
you need to insert an object. How your object appears depends on the
options you selected in the Insert Object dialog box.
If you selected
Display as Icon
in step 4 in the previous section, the source
application launches. Use its commands and tools to create your object.
Choose
Exit
in the File menu to insert the object as an icon.
If you did not select
Display as Icon,
an OLE window appears (some
applications do not support OLE windows and the object will launch in
the application itself). The OmniForm window changes to reflect the
application window for the selected object type:
• The name in the title bar changes to that of the source application.
• The embedded object appears as an empty OLE window within
the application window. Create your object here.
• All menus but the File and Windows menu change to those of the
source application.
• All toolbars change to those of the source application.
If you selected
Bitmap Image,
for example, you can use the Microsoft
Paint menu commands and tools and some OmniForm commands.
Create your object in the available window. Click outside the window or
press the Esc key to embed the object in your form when you are done.
Paint tools
used to create
object
OLE window
with newly
created bitmap
image to be
embedded
OmniForm form
Source application
menus