|
Post by dragonjim on Jun 22, 2013 15:27:56 GMT 1
Hi, I wonder if anyone can explain to me why the values for the Align property for Option & Check boxes are different from other OCX objects. Firstly, both 0 and 1 appear to be for left-alignment, 2 signifies right-alignment and 3 centred. For all these, the option/check box is centrally (or middle-) aligned in the vertical plane Then, by adding 4 to each value, the horizontal alignment property remains the same but the option/check box is now top-aligned vertically; similarly, by adding 8, the option/check box is bottom-aligned vertically. Generally there are only 12 values for alignment if full-justification is included (where the text is aligned to both margins), but this doesn't seem to be the case here. Also, the values do not seem to correlate with the Microsoft VB constants used in similar objects: vbTopLeft, vbTopCentre, etc. Is this an anomoly within the OCX implementation or is this how the basic objects are treated within Windows? Any information would be gratefully received.
|
|