![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: ToolBar() and custom icons?? Topic Summary: Created On: 17-Nov-2003 13:08 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I sent this question to Telelogic support. I was informed that there is no way to add custom icons to toolBars or buttons, only the standard icons within DOORS. | |
![]() |
|
I have created a toolbar but I am unable to added custom icons to it. The DXL reference manual says to use the int param[] variable. Which the utils/icons.inc has a list of int vars to represent each of the standard icons. I can set a button on the toolbar to one of the standard icons in DOORS. Is there a way to add custom icons to that list or add the icon directly to the toolBar? Or is there a way to use custom icons on a regular DBE button?
Thank you, Jeremy Schaus |
|
![]() |
|
![]() |
|
I sent this question to Telelogic support. I was informed that there is no way to add custom icons to toolBars or buttons, only the standard icons within DOORS.
|
|
![]() |
|
![]() |
|
Jeremy,
I had the same problem. I solved it by using a DBE canvas and actually drawing the icon in a short subroutine. You can trap button presses at specific points on the canvas, and if the intersection falls within the button area, call a subroutine to perform the action of the button. It worked for me because I had simple icons, just a box with some straight lines to represent left-, center-, and right-justification. A more complex image will require a much more complex drawing routine, but the canvas can be placed anywhere in a standard dialog box. Each canvas will have a local cooordinate system with the zero point (0,0) in the upper-left hand corner. Good luck! -Dennis |
|
![]() |
|
![]() |
|
Dennis,
Thanks for the idea. I ended up using buttons instead and placed them beside each other. I will experiment with the canvas DBE though. On a side note I have submitted an enhancement request to Telelogic for custom icons in the toolbar. Hopefully it gets approved and is implemented in the next release. Thank you, Jeremy Schaus Edited: 26-Nov-2003 at 14:27 by Jeremy Schaus |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
ToolBar() and custom icons??
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.