Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Resizing forms

$
0
0
Resizing forms
FoxInCloud
Resizing forms
Apr. 19, 2013
05:35 am
3RK0C06JCShow this entire thread in new window
Gratar Image based on email address
From:FoxInCloud support
To:Michele
Ciao Michele,

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.


In my app i need to resize the form to the dimensions of the browser windows i'm using....
At the moment if i zoom my form the new dimension is taken from the size of the form zoomed where the Vfp app is running not the real size of the browser. I can give my forms a standard dimension selecting from the lower resolution i can find on the market in this moment, but i think that this is not a good solution.....

Now i'm testing my app and on my pc i ihave two monitors. On the first with a high resolution i have Visual Foxpro opened and my app is running in it on the other monitor i openmy browser and i launch my app.....If i zoom the form the dimensions are those of larger monitor so i can't see all the form in my browser and i need to scroll...

Is there an option to make my app sesnsitive to my real desktop dimensions ?

Thanks


Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)


Viewing all articles
Browse latest Browse all 10393

Trending Articles