Página 1 de 1

LeftMargin of TEdit if lPassword=.t.

Publicado: Lun Ago 20, 2007 2:09 pm
por Oleg
Dear developers!
I noticed that the left margin of TEdit control with lPassword=.t is greater
than the left margin of usual TEdit control.
All becomes OK, if I put in FormInitialize this code
::oEditPsw1:SetMargins(0,0,.f.)
Regards,
Oleg

LeftMargin of TEdit if lPassword=.t.

Publicado: Mar Ago 21, 2007 10:27 am
por jfgimenez
Oleg,
> I noticed that the left margin of TEdit control with lPassword=.t is
> greater than the left margin of usual TEdit control.
> All becomes OK, if I put in FormInitialize this code
> ::oEditPsw1:SetMargins(0,0,.f.)
It seems that this is the default windows behaviour, as there is nothing in
the class code that changes the left margin on setting lPassword.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

LeftMargin of TEdit if lPassword=.t.

Publicado: Mar Ago 21, 2007 10:27 am
por jfgimenez
Oleg,
> I noticed that the left margin of TEdit control with lPassword=.t is
> greater than the left margin of usual TEdit control.
> All becomes OK, if I put in FormInitialize this code
> ::oEditPsw1:SetMargins(0,0,.f.)
It seems that this is the default windows behaviour, as there is nothing in
the class code that changes the left margin on setting lPassword.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info