Hi Fabio,
I see than in Form Designer with Margin 0 or 1 but not when form is run. Is it what you see?
>Hi.
>
>try this:
>- create a new form
>- add a editbox
>- set editbox.Scrollbars = 0 - None
>- set editbox.Margin = 0
>- for W2k set editbox.specialEffect = 1 - Plain ( bug exists for 0 - 3D but is not evident )
>
>You can see the right border line is overwrite by the EditBox BackArea.
>
>
>It occur with Scrollbars = 0 and Margin = 0 combination.
>
>For simple form/editbox the problem not occur at runtime,
>but with form subclass and editBox subclass it occur at runtime also.
>
>I do not search the exact situation,
>now i use Margin = 1 on my complex classes enviroment.
>
>Fabio
--sb--