Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Paradox Topics / September 2008

Tip: Looking for answers? Try searching our database.

Form "hangs" off left of screen...?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth - 12 Sep 2008 16:50 GMT
Howdy,

I'm running P9 with XP...

I have a form that is coded to run at 100%...

When I launch the form, it is "cut off slightly" on the left
side.

If I then click View | Zoom 50%, and then View | Zoom 100%,
it re-positions properly.

Is there a way that I can have the form launch properly
without that routine?

Many thanks,
Signature

Kenneth

If you email... Please remove the "SPAMLESS."

Tony McGuire - 12 Sep 2008 17:13 GMT
> I have a form that is coded to run at 100%...

What is the code you use?

---------------
Tony McGuire
Kenneth - 12 Sep 2008 17:18 GMT
> > I have a form that is coded to run at 100%...
>
>What is the code you use?
>
>---------------
>Tony McGuire

Hi Tony,

On the form's Open, I have:

menuAction(MenuPropertiesZoom100)

Thanks,
Signature

Kenneth

If you email... Please remove the "SPAMLESS."

Tony McGuire - 12 Sep 2008 17:29 GMT
>>> I have a form that is coded to run at 100%...
>> What is the code you use?
[quoted text clipped - 9 lines]
>
> Thanks,

Are you opening the form from another form or script or library or
anything?  Or just directly by clicking on it?

f.open("sales", WinStyleDefault + WinStyleMaximize)

will open the subject form maximized.

Not that it will help if you are clicking on it directly.

I don't use ANY of the zoom factors for form sizing, as they seem to all
have 'issues'.

Hopefully someone else who has tried what you are doing will chime in.

---------------
Tony McGuire
Kenneth - 12 Sep 2008 18:05 GMT
>>>> I have a form that is coded to run at 100%...
>>> What is the code you use?
[quoted text clipped - 26 lines]
>---------------
>Tony McGuire

Hi Tony,

I open the form by clicking...

It is our "base" form from which everything else happens.

Thanks,
Signature

Kenneth

If you email... Please remove the "SPAMLESS."

Jim Giner - 12 Sep 2008 18:10 GMT
When I create a form, I actually have a form creator 'form' that I wrote.
Allows me to set a window title, add some std. code snippets to certain
methods as well as allow me to size and position the 'new' form and put
those coordinates into a SetPosition statement in the 'new' form's SetFocus
method.  From that point on it always opens up in a specific spot and size.
Of course I'm designing for a known set of screen sizes so what I design it
for will work most anywhere in my company.

Never even thought about the menuaction(constants) method.

>>>>> I have a form that is coded to run at 100%...
>>>> What is the code you use?
[quoted text clipped - 34 lines]
>
> Thanks,
Jeff Shoaf - 12 Sep 2008 17:44 GMT
Is it sized correctly and not centered in the screen? Is the form maximized?

> Howdy,
>
[quoted text clipped - 12 lines]
>
> Many thanks,
Kenneth - 12 Sep 2008 18:09 GMT


>> Howdy,
>>
[quoted text clipped - 12 lines]
>>
>> Many thanks,

>Is it sized correctly and not centered in the screen? Is the form maximized?

Hi Jeff,

I think you may have pointed me in the right direction...

It did have a "maximize()" on its setFocus, but I moved it
to the form's open, and now it seems fine.

I thank you for your help,
Signature

Kenneth

If you email... Please remove the "SPAMLESS."

Jeff Shoaf - 13 Sep 2008 00:06 GMT
Great!

For future reference, consider putting any initialization code in the
form's init() method - that's what it's for and you don't have to worry
about where it goes in the open() method. The open() event catches the
open() event for each object on the form as it bubbles up, hence the
default if...then...else statement in the open() event.

Having the maximize() in the form's setFocus() event will surely
irritate anyone who's trying to view the form at less than maximum so
that they can look at another app at the same time!

>  
>>> Howdy,
[quoted text clipped - 24 lines]
>
> I thank you for your help,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.