I'm struggling a bit trying to understand ECL.
While designing a form in the Designer, many controls have a caption property and a "caption alignment" property to specify where the caption should appear relative to the control (left, right, top, bottom).
In ECL, the Action and Refill Classes have field collections "Fields" (depreciated) and "Fields2", which contain the fields on the form. The difference is "Fields" includes the captions as separate items, and "Fields2" includes the captions as a property of the controls. For example, if I have a form with 5 text boxes, "Fields" will contain 10 items (5 text boxes and 5 labels for the captions), and "Fields2" will contain just 5 items (5 text boxes with a caption property).
My question is, where does the "caption alignment" property appear?
Using the "Fields" collection, the captions are returned as separate labels, and have a "left" and "top" property. This could be used to determine the caption alignment, but this member is depreciated and it does not appear all controls have their captions treated as separate labels (check box for example).
The "Fields2" collection includes the caption as a property of the control, but there dosen't seem to be any property for caption alignment.
I must be missing something somewhere !
Does anybody have experience with ECL and how to use it? I've managed to get most of it to work, but I'm stuck on a few issues. Anybody have any good examples they would care to share?
Thanks,
Randall