DXL Repository

Upload File


Simple Constrained Placement

You must be logged in to download file.

Version: 1.0 posted by David.Pechacek on February 1, 2008.
Categories: Uncategorized
Downloaded 1768 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!

0 Comments

  1. Pingback: Database Management » Blog Archive » Opinion: DOORS 9

Leave a Reply