![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.