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: 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
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.
Answer This question was answered by Tony Goodman, on Friday, May 18, 2007 8:07 PM

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.
 16-May-2007 19:55
User is offline View Users Profile Print this message


Joe Sarkic

Posts: 31
Joined: 13-Jun-2005

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.
Report this to a Moderator Report this to a Moderator
 16-May-2007 20:04
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

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
Report this to a Moderator Report this to a Moderator
 16-May-2007 20:17
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

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
Report this to a Moderator Report this to a Moderator
 18-May-2007 02:52
User is offline View Users Profile Print this message


Joe Sarkic

Posts: 31
Joined: 13-Jun-2005

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.
Report this to a Moderator Report this to a Moderator
 18-May-2007 09:45
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer 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.

-------------------------
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.