Balloon problem in PtText widget

I’m using 6.3.0 SP2 (evaluation code) with IDE on native QNX.

I’ve created a window with a PtText widget.
I’ve set the Pt_SHOW_BALLOON flag on the PtText widget
(Pt_ARG_LABEL_FLAGS)
I’ve set some text in the balloon text for the PtText widget
(Pt_ARG_BALLOON_TEXT)

When I run the application, placing the cursor on the PtText causes
balloon appears, but the balloon text is the text string
(Pt_ARG_TEXT_STRING), not the expected text in the balloon text resource
(Pt_ARG_BALLOON_TEXT).

Is programatically I change the Pt_ARG_BALLOON_TEXT, then in the balloon
appears only the first character of the new balloon text.

Is this a bug or I’m doing something wrong?

NOTE: The balloon sems to work OK for a PtLabel widget.


Thanks for your attention.

Ping!!

Joan Baucells wrote:

I’m using 6.3.0 SP2 (evaluation code) with IDE on native QNX.

I’ve created a window with a PtText widget.
I’ve set the Pt_SHOW_BALLOON flag on the PtText widget
(Pt_ARG_LABEL_FLAGS)
I’ve set some text in the balloon text for the PtText widget
(Pt_ARG_BALLOON_TEXT)

When I run the application, placing the cursor on the PtText causes
balloon appears, but the balloon text is the text string
(Pt_ARG_TEXT_STRING), not the expected text in the balloon text resource
(Pt_ARG_BALLOON_TEXT).

Is programatically I change the Pt_ARG_BALLOON_TEXT, then in the balloon
appears only the first character of the new balloon text.

Is this a bug or I’m doing something wrong?

NOTE: The balloon sems to work OK for a PtLabel widget.

Thanks for your attention.

This is fixed in the next release:

PR22297, balloon text resource not checked by PtText and PtMenuButton


Max Feil
QNX Software Systems
Stay up-to-date on all the QNX news! Register here to receive our
newsletter:
http://www.qnx.com/news/forms/newsletter.html

“Joan Baucells” <“Joan Baucells”@NoSpam.es> wrote in message
news:43E6F166.ACABAB77@NoSpam.es

Ping!!

Joan Baucells wrote:

I’m using 6.3.0 SP2 (evaluation code) with IDE on native QNX.

I’ve created a window with a PtText widget.
I’ve set the Pt_SHOW_BALLOON flag on the PtText widget
(Pt_ARG_LABEL_FLAGS)
I’ve set some text in the balloon text for the PtText widget
(Pt_ARG_BALLOON_TEXT)

When I run the application, placing the cursor on the PtText causes
balloon appears, but the balloon text is the text string
(Pt_ARG_TEXT_STRING), not the expected text in the balloon text resource
(Pt_ARG_BALLOON_TEXT).

Is programatically I change the Pt_ARG_BALLOON_TEXT, then in the balloon
appears only the first character of the new balloon text.

Is this a bug or I’m doing something wrong?

NOTE: The balloon sems to work OK for a PtLabel widget.

Thanks for your attention.