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: Is there a Callback function when column headings are clicked on?
Topic Summary:
Created On: 18-Apr-2007 19:37
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.
 18-Apr-2007 19:37
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 58
Joined: 17-Oct-2006

Does anybody know if there are callback functions when a column heading (in a DBE) is called. I should note that the DBE is not on a canvas.
Report this to a Moderator Report this to a Moderator
 18-Apr-2007 22:38
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

As far as I know, selecting a column label in a list view means only 'sort all rows based on this column'.

Golly, finally did some List View work a while ago and figured a bunch of stuff out. Don't recall how it works, however. I did write some functions to help. See attached along with the lines of code that invoke the functions.

Notice the list view DB is created with Option to Sort. Notice each defined column that is allowed to be sorted needs to define the sort callback.

I don't recall my comments in the sort callback, but if I wrote that strange DXL errors occur if you modify the code, then its true; at least for v7.1.

I don't believe I ever attempted to perform a reverse sort if the same column label is selected again. But if I DID try, I presume the function that shouldn't be modified would be modified to know the sort order of the last sort, and reverse its logic. I'll let others beat their heads against the wall on that....

- Louie
Report this to a Moderator Report this to a Moderator
 19-Apr-2007 01:59
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 58
Joined: 17-Oct-2006

Louie,

Thank you for your response. I can always count on excellent feedback from you. I am aware of the sorting feature of a listview box. I was actually trying to duplicate the right click ability on the column heading in a formal module. Unless, I have completely missed something obvious (like the canvas scenario) I thought there would be a callback on right clicking the column heading. But, again thanks for your quick and helpful response.

Do you or anyone else know how telelogic is doing the right click ability on the formal module headings? Is it the canvas callbacks that are doing this or something else?

Report this to a Moderator Report this to a Moderator
 19-Apr-2007 12:08
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The DOORS database explorer is built entirely using DXL.

The formal module menus are built using DXL, but the rest of the formal module window is NOT - it is implemented in the doors.exe somehow.

This is why some features of the formal module window cannot be changed or implemented elsewhere using DXL.

-------------------------
Tony Goodman
http://www.smartdxl.com
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.