Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: 'AddToolTip' feature in DOORs 8.1
Topic Summary:
Created On: 8-Sep-2006 12:16
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 8-Sep-2006 12:16
User is offline View Users Profile Print this message


Chris Collingwood Hancock

Posts: 24
Joined: 8-Sep-2006

Hi, I'm new to DXL and trying to introduce tool tips to an application which was previously working!
There is a lack of information for the 'addToolTip' feature, which only provides you with a basic example, in the DXL manual.
I have attached code to this message, firstly showing the code prior to introducing Tool tips, secondly, with the canvas declaration and supporting callbacks.
With the code in place, the GUI is drawn as expected and running the mouse over the specified area on the GUI results in the tip appearing but the problem I then have is that single/double -clicking the Listview (named WordList) does not trigger either callbacks 'WordEditorGUI_WordList_ClickedOnce' and 'WordEditorGUI_WordList_ClickedTwice'.
Its as though my declaration for the canvas 'CanvaWithTips' acts as a glass shield over the GUI itself, preventing any DBE selection with the mouse, so can anyone shead any light on this?

I also need direction on a couple of other matters on this feature (sorry!) Is it possible to make a single tool tip longer than one line in length as I've tried the usual '\n' within the string but this only adds symbols other than a carriage return? The reference manual also states the tip appears at the cursor position, however, they always appear at the base of the area specified by the 'addToolTip' statement - so is there a patch or any way to force the tips to appear at the cursor position?

Any help much appreciated,

Chris P. Collingwood-Hancock
AgustaWestland(UK)
Avionic Software Engineering
 
Report this to a Moderator Report this to a Moderator
 20-Sep-2006 10:52
User is offline View Users Profile Print this message


Chris Collingwood Hancock

Posts: 24
Joined: 8-Sep-2006

Hi, I understand to overcome the problem I have encountered with not being able to break through to the GUI underneath the canvas is to use the 'in-place' editors.

With the following code example, how do I apply the 'in-place' statement so the 'justItReturn' callback routine is actioned:

The current state is that the tooltip appears as expected, however, I can't reach the text box to enter a value.
If you comment out the declaration of 'CanvasWithTips', you can see what I am trying to do - enter a value, hit return and get an acknowledgement.
As you can see, the current code implementation prevents me from having both the ability to edit the field and have the tooltip feature running.

Any help much appreciated,

Chris

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.