Skip to Content
0
Former Member
Nov 26, 2008 at 05:16 PM

Can't understand units and why control placement is goofy

24 Views

I have a ITextObject (Text1) and a IFieldObject (Physician1).

The Text1 Object has it's background color set to Gainsboro

and all four of it's borders set to Single.

The Top property = 0, the Left property = 120, and the Height property = 221.

The Physician1 Object has it's background color set to White

and all four of it's borders set to Single.

The Top property = 221, the Left property = 120, and the Height property = 221.

If the TOP of the Physician1 Object object is set to the SAME VALUE as the

HEIGHT of the Text1 Object, why does it show like the image at the link below?

Shouldn't the top of the Physician1 Object be lined up with the bottom of the

Text1 Object?

[Screenshot Showing control placement problem|http://66.96.222.89/~shipman/Crystal_Control_Placement_Problem.png]

Any ideas as to how to get this alignment correct?