Re: Scale a paradox form



Thanks a lot Liz,

In the back of my head I was discussing with myself something like that.
With your pin-pointed information I tested this with success. Already I have
established a user-profile table for various settings, like printers other
stuff. Now I think I will add a registration for preferred
screen-resolution.

But is there a way to detect the user's desktop resolution so this can be
done automatically?

Bjorn

"Liz McGuire" <liz@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:465488d1$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Make sure your forms are all the same size, or pick the largest form.
Temporarily put code on the form to get the app size. Run the form,
position form and app as desired. Trigger the code, record the size of
the app, put code in init to size the app.

That's what I do. I also set the position of the app window (you can also
read size and position on exit, store them for the user, and restore them
on start-up - it's not hard (assuming your form has a startup script or
form).

Liz


Bjorn Sagbakken wrote:
Enlightening and interesting, and of course absolutely right.

But how to use opal to resize the Paradox outer shell (the Paradox
windows application) to fit the form precisely?

With Paradox 11 I have problems with the form zoom property because
text-editing gets a weird lag with the cursor(Bertil has described and
confirmed this phenomena) So with this problem in mind there is almost a
*must* to use a form scale of 100%. But I should very much like to know
how to resize the Paradox application to fit the form, so the users (with
different screen resolutions) don't have to do this manually. Any tip?

Bjorn


.



Relevant Pages

  • Re: careware
    ... longer supports the data base. ... support the older version. ... Yes I was hoping that general paradox information would help to keep the ... be *very* dangerous to the app.. ...
    (comp.databases.paradox)
  • Re: Paradox Runtime 3.5, odbc?
    ... > - I gather Peter does NOT have the PAL code of the app. ... Apropos paradox runtime, I am not even sure if it is actually used, I could ... > - Generally, running PDox, from another PC on the LAN, ... I am prepared to write a script in perl, c++ or php to do the extraction, ...
    (comp.databases.paradox)
  • Re: GetClientRect() AND ShowWindow(SW_SHOWMAXIMIZED) in SDI app.
    ... But maximizing the app only maximizes the main window. ... It maximizes the view frame, ... OnSize handler to your frame and resize the dialog as well, then the code above will only ... MVP Tips:http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: Funky weird dialog resize FINALLY!
    ... Stubbing it out solved the resize issue. ... Mike ... The app was setup as a dialog. ... > It's strange that it changes size once the other dialog is gone. ...
    (microsoft.public.pocketpc.developer)
  • Re: Screen resolution problem
    ... the only control I have to resize. ... your app is running - do they have to close and reopen your app to get ... If you're only dealing with a small number of controls, ... resize all of the visible controls if the resolution changes. ...
    (microsoft.public.vb.general.discussion)