Re: SIZING FOXPRO DESKTOP WINDOW AT STARTUP IN RUNTIME ENVIRONMENT



why do you wnat to show the desktop at all?

config.fpw
screen=off

Include that in your project under "text files"

change your form to "as top level form"

But if you really want to resize the desktop
form.load() (or init I guess)
_screen.width=thisform.width
_screen.height=thisform.height

You may have to add a few to the wdith & hiegth to keep it from scrunching over
the form... I'd make it top level tho.




On Sat, 14 Jan 2006 10:17:39 -0500, "David L. Jacobson"
<tornadogroup@xxxxxxxxxxx> wrote:

>Hi Gang,
>
>I know this should be simple, but I haven't been able to figure it out. I
>have created a simple application based on a single form, launched by a .prg
>that [do]es the form and read events. I compiled to an .exe and it runs
>fine. I can size and position the form within the FoxPro 8.0 SP1 desktop
>window--no problem, but I want to automatically size the FoxPro desktop
>window size so that it matches the form size for a clean opening appearance.
>What object.parameter do I set to do that? Thank you very much for your
>help!
>
>David L. Jacobson
>J&A Data Mining
>


--- AntiSpam/harvest ---
Remove X's to send email to me.
.