FoxInCloud
2.31.beta6
In an textbox (for login), after the first character, it's add a lot of space:
19:01:19 DOMEvent.doo &Event=blur&ObjAddr=login_scx-txtlogin&UserID=5XO13Y10C&PageInit=&nReq=3&ValueType=string&Value=%27v%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20... - 0,291
Another screen with display issue:
Hi,
I confirm, ditto
Amicalement
Gilles
What do you confirm? you have the same issue as Vincent? Can you share your original and HTML form?
In an textbox (for login), after the first character, it's add a lot of space
modify command awHTML.prg
&& please replace
lcTxt = ICase(;
!m.lcType == 'C' or m.liAli = 2,; && center
Alltrim(m.lcTxt),;
m.liAli = 0,; && left
RTrim(m.lcTxt),;
m.liAli = 1,; && right
LTrim(m.lcTxt),;
m.lcTxt; && 3 - Automatic
)
&& by
lcTxt = ICase(;
!m.lcType == 'C' or m.liAli = 2,; && center
Alltrim(m.lcTxt),;
InList(m.liAli, 0, 3),; && left or automatic
RTrim(m.lcTxt),;
LTrim(m.lcTxt); && m.liAli = 1: text aligned right
)
Another screen with display issue
I can answer specifically because we have your code.
FoxInCloud may have changed its behaviour on this point, however you should initialise this text (.F.
in your screenshot) in contexte.init()
instead of contexte.refresh_()
Please keep in mind that:
.refresh?()
executes afterform.Init()
for user (.wlInitFirst = .F.
) andform.show()
and/or if you call it.- HTML generation executes after initial, user-independent
form.Init()
(.wlInitFirst = .T.
)
In an textbox (for login), after the first character, it's add a lot of space
Your correction is OK !