Position  PowerTips

Chapter 3: Property Descriptions and Usage

PowerTipText

Applies to

Picture, PictureButton, and PictureHyperlink controls, and UserObjects with tab pages

Description

Displays a PowerTip when the user moves a cursor over the control or over the tab area of the tab page.

Usage


In a painter

StepsTo set the PowerTip:

  1. In the Window painter, display the General page of the control’s Properties view, or in the User Object or Window painter, display the TabPage tab of the UserObject’s Properties view.

  2. Type a PowerTip in the box for the PowerTipText field.


In scripts

The PowerTipText property takes a string value.

The following line adds a PowerTip for tabpage_2 on tab control tab_1:

tab_1.tabpage_2.PowerTipText = "Cancel the operation"

This adds a PowerTip for a PictureButton control:

pb_1.PowerTipText = "This button opens a new form"





Copyright © 2004. Sybase Inc. All rights reserved. PowerTips

View this book as PDF