Skip to content

DXL Repository

A curated collection of expert-level DXL scripts to extend and automate IBM DOORS Classic.

Simple Constrained Placement

Join our community of 2,000+ engineers to access this tool. Register Free

Version: 1.0 posted by David.Pechacek on .
Categories: Uncategorized
Downloaded 2042 times.
This is an include file to use with your dialog box scripts which simplifies constrained placement for a dialog box element into a single line of code.

Instead of having this:

DBE textDBE = text(DB yourDB, string label, string initial, int width, int height, bool readOnly)
textDBE-> "left" -> "inside" -> frameDBE
textDBE-> "right" -> "unattached"
textDBE-> "top" -> "spaced -> otherDBE
textDBE-> "bottom" -> "form"

You can have this:
DBE textDBE = text(DB yourDB, string label, string initial, int width, int height, bool readOnly)
attach(textDBE, "l->i;r->u;t->s;b->f", frameDBE, otherDBE)

Please read the comments at the top of the file for more info. Feel free to email me with any questions. And let me know what you think with your comments.

dpechacek@sc-aaicorp.com

Download This File!


Kevin Murphy

Chat with us!

Work with an IBM Champion to master your ELM tools.

Get in touch