DXL repository

DXL scripts that extend and automate IBM DOORS Classic. Register for a free account to download them.
Simple Constrained Placement
Version: 1.0 posted by David.Pechacek on .Categories: Uncategorized
Downloaded 2274 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
Register free to download this script. Downloads from the DXL repository need a Baselines account. New accounts are approved by our team.
Talk to an ELM consultant
Tell us about your IBM ELM setup and what you need. A senior consultant will follow up.