![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Bitmaps and User Buttons Topic Summary: Can bitmaps be used with user defined buttons? Created On: 16-May-2007 19:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Can't do it I am afraid. The only way to create custom graphics buttons in to build them by drawing on a canvas and use hotspots. Can be done, but would require quiet advanced DXL. | |
![]() |
|
Does anyone know how to use bitmaps instead of labels for user defined buttons? Is this even possible?
I would like to be able to create my own buttons similar to the arrow buttons that are available. |
|
![]() |
|
![]() |
|
try this script:
DB arrowBox = create "Arrow Demo" void doNothing(DBE x) {} void doNothing(DB x) {} DBE tl = button(arrowBox, topLeftArrow, doNothing) beside arrowBox DBE up = button(arrowBox, upArrow, doNothing) DBE tr = button(arrowBox, topRightArrow, doNothing) leftAligned arrowBox DBE l = button(arrowBox, leftArrow, doNothing) beside arrowBox DBE all = button(arrowBox, allWaysArrow, doNothing) DBE r = button(arrowBox, rightArrow, doNothing) leftAligned arrowBox DBE bl = button(arrowBox, bottomLeftArrow, doNothing) beside arrowBox DBE down = button(arrowBox, downArrow, doNothing) DBE br = button(arrowBox, bottomRightArrow, doNothing) leftAligned arrowBox apply(arrowBox, leftRightArrow, doNothing) apply(arrowBox, upDownArrow, doNothing) show arrowBox |
|
![]() |
|
![]() |
|
What Ron posted is from the DXL Reference Manual in DOORS. Look up "button (arrows)" in the index.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
I've already used these arrow buttons. What I am looking for is the ability to create buttons with custom graphics. I've not seen any reference or examples that allow for this.
|
|
![]() |
|
![]() |
|
Can't do it I am afraid.
The only way to create custom graphics buttons in to build them by drawing on a canvas and use hotspots. Can be done, but would require quiet advanced DXL. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Bitmaps and User Buttons
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.