Discussion:
Resizing Desktop on P 10 Runtime
(too old to reply)
Alvaro Nunes
2004-09-20 09:22:00 UTC
Permalink
I am trying to define the startup size of RT desktop.
I did the following:
When app closes I write the size I want to the Registry, desktop setting.
But when RT re-starts it always starts with a default size. So it
ignores the reg setting.
It only works starting RT with the command -i pfwwin.ini, where that
size is defined.
Is that right that RT is not using registry or I am doing something wrong?
Regards
Alvaro
Bertil Isberg
2004-09-20 15:03:18 UTC
Permalink
Alvaro

<<
I did the following:
When app closes I write the size I want to the Registry, desktop setting.
But when RT re-starts it always starts with a default size. So it
ignores the reg setting.
It only works starting RT with the command -i pfwwin.ini, where that
size is defined.
Is that right that RT is not using registry or I am doing something wrong?
I can not recreate your problem in P11 Runtime. When I resize Paradox
desktop, RT loads that size next time.

Do you have any command line switches?

Do you have any ini files in the working directory?
--
Bertil Isberg - CTECH
Paradox buglist:
online: http://w1.826.comhem.se/~u82608896/
FAQ newsgroup: corel.wpoffice.paradox-faq
Alvaro Nunes
2004-09-20 17:24:40 UTC
Permalink
Bertil,
Thank you for answering.
Yes, for both of your questions.
OK. So if goes with P11, then maybe there is something here that is
getting in between.
I will try removing the all switches and the all ini files.
Alvaro
Post by Alvaro Nunes
Alvaro
<<
When app closes I write the size I want to the Registry, desktop setting.
But when RT re-starts it always starts with a default size. So it
ignores the reg setting.
It only works starting RT with the command -i pfwwin.ini, where that
size is defined.
Is that right that RT is not using registry or I am doing something wrong?
I can not recreate your problem in P11 Runtime. When I resize Paradox
desktop, RT loads that size next time.
Do you have any command line switches?
Do you have any ini files in the working directory?
Alvaro Nunes
2004-09-20 18:20:14 UTC
Permalink
Bertil,
I tested now without the ini and switches.
If I start Pdx RT alone it is working correct. If I supply an fdl file
name to start along with RT it does not work. It does not make a
difference if start it from an icon or from start>run>PDXRT +FDL FName.
Regards
Alvaro
Post by Alvaro Nunes
Bertil,
Thank you for answering.
Yes, for both of your questions.
OK. So if goes with P11, then maybe there is something here that is
getting in between.
I will try removing the all switches and the all ini files.
Alvaro
Post by Alvaro Nunes
Alvaro
<<
When app closes I write the size I want to the Registry, desktop setting.
But when RT re-starts it always starts with a default size. So it
ignores the reg setting.
It only works starting RT with the command -i pfwwin.ini, where that
size is defined.
Is that right that RT is not using registry or I am doing something wrong?
I can not recreate your problem in P11 Runtime. When I resize Paradox
desktop, RT loads that size next time.
Do you have any command line switches?
Do you have any ini files in the working directory?
Bertil Isberg
2004-09-20 20:48:42 UTC
Permalink
Alvaro

Run a script that opens the form. The script can set the size of the desktop

var
app application
f form
endvar
app.setPosition(0,0,width, height)
f.open("YOUR FORM")
--
Bertil Isberg - CTECH
Paradox buglist:
online: http://w1.826.comhem.se/~u82608896/
FAQ newsgroup: corel.wpoffice.paradox-faq
Alvaro Nunes
2004-09-21 17:44:15 UTC
Permalink
Bartil,
Thank you.
I will prefer to use the -i switch.
Alvaro
Post by Alvaro Nunes
Alvaro
Run a script that opens the form. The script can set the size of the desktop
var
app application
f form
endvar
app.setPosition(0,0,width, height)
f.open("YOUR FORM")
Loading...