dbTalk Databases Forums  

Scale a paradox form

comp.databases.paradox comp.databases.paradox


Discuss Scale a paradox form in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Bjorn Sagbakken
 
Posts: n/a

Default Re: Scale a paradox form - 05-23-2007 , 12:28 PM






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


"Liz McGuire" <liz (AT) paradoxcommunity (DOT) com> wrote

Quote:
Amen. To see that this is the standard way Windows works, do this:

1. Open the display properties window (right click on blank area of
Windows desktop, choose Properties). Go to the Settings tab. Make note
of the resolution.

2. Note how much space on the screen the dialog occupies.

3. Now change the resolution to something lower than it currently is and
apply (Do NOT close the dialog).

4. Note how much space on the screen the dialog occupies - it occupies
more space.

5. Now change the resolution to something higher than it originally was
and apply (again, do NOT close the dialog).

6. Note how much space on the screen the dialog occupies - it occupies
less space.

7. Repeat for each resolution.

The dialog does NOT change size. It *looks* bigger or smaller based on
the resolution.

If your form is designed to take the whole screen at 800x600, leave it
that way. When I run your form at 1920x1280, it will take up a small
portion of my screen (800x600 pixels, to be exact) and that is exactly
what I want.

Liz


Dennis Santoro wrote:

So, in summary, pick a size. Design for it. Forget zoom.



Reply With Quote
  #12  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Scale a paradox form - 05-23-2007 , 01:32 PM






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:
Quote:
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

Reply With Quote
  #13  
Old   
Dennis Santoro
 
Posts: n/a

Default Re: Scale a paradox form - 05-23-2007 , 02:19 PM



See the sizing demo on our paradox resources page (link in my
signature). Generally I design all my forms to maximize inside the size
I define my ap window and use that use that space unless I am popping up
a dialog (which I then have at an explicit sub size)

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and
non-profits since 1982

Reply With Quote
  #14  
Old   
Bjorn Sagbakken
 
Posts: n/a

Default Re: Scale a paradox form - 05-24-2007 , 12:40 PM



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 (AT) paradoxcommunity (DOT) com> wrote

Quote:
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



Reply With Quote
  #15  
Old   
Roy F
 
Posts: n/a

Default Re: Scale a paradox form - 05-24-2007 , 12:43 PM



Hi Paul,

Quote:
Hmm, Our state medical system uses software that
spawns numerous pop up windows and it is very messy.
I guess some things are the same no matter where you are. Most of the
medical software in the USA is just as you've described. Popups
everywhere. So many popup's that it's easy to get lost in the software.
While the software is technically sound, the interfaces are very
confusing and difficult to learn.

Quote:
It amazes me that professionals
design such user unfriendly software.
I think part of the problem is that for the most part the people who
design the software don't actually use it. And they wonder why so few
doctors use electronic medical records in the USA.

Regards,
RoyF

OzPaul wrote:
Quote:
I am also trying my best to get away from pop up forms as much as possible.
I've grown to really dislike apps where everything you do spawns yet another
pop up. It makes for a very confusing interface, in my opinion.


Hmm, Our state medical system uses software that spawns numerous pop
up windows and it is very messy. It amazes me that professionals
design such user unfriendly software. As a semi-amateur, it is
something I avoid, and people who use my software find it reasonably
straight forward... PW


Reply With Quote
  #16  
Old   
Bjorn Sagbakken
 
Posts: n/a

Default Re: Scale a paradox form - 05-24-2007 , 12:46 PM



Thanks,

I have downloaded your demo, and will study this along with the tip I got
from Liz.

Bjorn

"Dennis Santoro" <RDAPres (AT) NoRDASpamWorldWide (DOT) com> wrote

Quote:
See the sizing demo on our paradox resources page (link in my signature).
Generally I design all my forms to maximize inside the size I define my ap
window and use that use that space unless I am popping up a dialog (which
I then have at an explicit sub size)

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and non-profits
since 1982



Reply With Quote
  #17  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Scale a paradox form - 05-24-2007 , 01:28 PM



IMO, the resolution is less important than storing the app size and
position when the user closed it. This way you can always open the app
in the position and size the user prefers.

That said, look at sysInfo() in ObjectPAL help - it has resolution
information. (I only use this to determine whether or not to maximize
Paradox. If the resolution is 800x600 or less, I maximize; otherwise, I
explicitly size and position it to take up a portion of the screen.)

FWIW,

Liz


Bjorn Sagbakken wrote:
Quote:
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


Reply With Quote
  #18  
Old   
Bjorn Sagbakken
 
Posts: n/a

Default Re: Scale a paradox form - 05-25-2007 , 10:45 AM



Thanks again.

Bjorn
"Liz McGuire" <liz (AT) paradoxcommunity (DOT) com> wrote

Quote:
IMO, the resolution is less important than storing the app size and
position when the user closed it. This way you can always open the app in
the position and size the user prefers.

That said, look at sysInfo() in ObjectPAL help - it has resolution
information. (I only use this to determine whether or not to maximize
Paradox. If the resolution is 800x600 or less, I maximize; otherwise, I
explicitly size and position it to take up a portion of the screen.)

FWIW,

Liz


Bjorn Sagbakken wrote:
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




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.