It's something we've had in mind for some times so we just researched what we could do ...
Our idea is simply to reflect whatever .Anchor would do in desktop - simple and easy ...
Here is the code we added in some Form.Load():
IF wlWeb()this.Width = this.Width + 100 && just a .Anchor test, could be set in .init() depending on user's screen dimensions provided by FoxInCloud.js within XMLHTTP requestENDIF
and we set .Anchor on some controls:
works fine when form can be displayed in the IDE ...
... but not in .exe mode <s>, probably because form.Visible = .F.
we'll investigate for a possible workaround to force control redimensionning to occur whenever form is hidden.
Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)