>Hi Boris,
>i saw that sample... is it correct values there for common controls ?
>or another say which is the best values for common controls ?
What are Common Controls?
As I said all depends where the control is positioned, what you want this control to do when the form is resized.
When I Anchor my textboxes,ComboBoxes or other single line controls, I want they to resize horizontaly, but not vericaly, Other thing is whith Grid, Pageframe, EditBox
Also when the control is on the Left side of the form, and it is first control I Anchor it with Absolute Left, Absolute Top and Relative Right. When the control is in between two other controls I Anchor it:
Relative Left Absolute Top, Relative Rigth, When Control is on the RightSide of the form:
Relative Left Absolute Top, Absolute Rigth
_________________________ ____________________________ ____________________________
| | | | | |
------------------------- ---------------------------- ----------------------------
Absolute Left Relative Left Relative Left
Relative Right Relative Right Absolute Right
Absolute Top Absolute Top Absolute Top
BUT for editBoxes I want they to be resized so I choose for them other value of Anchor
Absolute Top
Absolute Left
Relative Right
Absolute Bottom
That is in general, All depends how your controls are placed on the form and how you want they to react on Resize of the form.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.