Consultor Eletrônico



Kbase P120161: Getting strange symbols in tool tip help for button.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/3/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Getting strange symbols in tool tip help for button.

Blank tooltip displays garbage characters.

TOOLTIP "" defined in button code generates strange symbols when compiled code is run.

CAUSE:

In 10.0B and later adding a null value to a tooltip will cause random graphics to be displayed when a mouse is moved over the button after it is compiled.

Bad Example:
DEFINE BUTTON BUTTON-1
LABEL "Button 1"
Size 40 by 2.5
TOOLTIP ""
.

The definition here of TOOLTIP "" will cause graphics symbols to be displayed in place of any appropriate value (in this case no tooltip would be the expected result).

FIX:

Remove the blank reference for Tooltip in the button definition.
Good Example:
DEFINE BUTTON BUTTON-1
LABEL "Button 1"
Size 40 by 2.5
.

Alternately any non empty reference for the Tooltip will correctly display.
Good Example:
DEFINE BUTTON BUTTON-1
LABEL "Button 1"
Size 40 by 2.5
TOOLTIP "Button 1"
.