The following tasks are associated with using an IVBFlyText*
part in visual composition. Tasks that are common to many parts
are described in related topics.
-
- Assigning ownership
- An IVBFlyText* part serves the frame window that owns it.
If you have only one frame window in a composite part,
the IVBFlyText* part is automatically owned by that frame
window. To provide fly-over text for an additional frame
window, do the following:
- Add an IVBFlyText* part for the additional
window.
- Set the owner property in the part
property sheet. Enter i, followed by the
frame window partName value, followed by ().
For example, if you want a frame window named FrameWindow1()
to own the fly-over text control, enter iFrameWindow1.
- Defining fly-over text
- Fly-over text provides information about a control part
when the mouse pointer hovers over the part. Define
fly-over text for each control part in its own property
sheet, not in the property sheet for the IVBFlyText*
part. You can define either or both of the following
types of fly-over text for a part.
-
- Short fly-over text
- Short fly-over help text is displayed in a pop-up
caption box near the mouse pointer. To define
this text, set the Fly-over short text
property. Enter the text in the value column.
- Long fly-over text
- Long fly-over information is displayed in a text
control that you specify. To define this text,
set the Fly-over long text property. Enter
the text in the value column.
- Displaying fly-over text
-
- Short fly-over text is displayed by the
IVBFlyText* part.
- To display long fly-over text, identify the text
control you want to display the text in. For
example, to display long fly-over text in an
IVBInfoArea* part, connect the IVBInfoArea* this
attribute to the IVBFlyText* longTextControl
attribute.
Common Tasks for Control Parts
Setting Part Style Properties
Setting Part Color Properties
Setting Part Font Properties
Setting Part Handlers
Properties
Setting Part Framing Properties
Working with VisualAge User
Interface Parts
IVBFlyText
Property Settings --
IVBFlyText
Portability --
IVBFlyText