Been into the manual and can't seem to find much of what I need. Maybe not looking in the right place.
Looked thru the threads and found the 'window command' thingie, but that does not work.
When the table contains no records on startup, a special 'dialog' form is called to obtain
the data req'd to run the system. Everything works fine, it's just that the A5 background and title bars show.
I've tried "fill" but that is apparently only for V5.
If I understand correctly, once you open the form in dialog mode, any code that is in the script
and after the open command does not run until after the form is closed.
That would (apparently) mean that the maximize command HAS to be a part of the open command (4th line).
And that would also mean that the maximize command (5th line) would only run after the dialog form closed.
The above code does not create any errors, but the form has been manually maximized in order to use it.
Can't seem to decipher 'pixel coordinates' as a form position, size command.
I need to 'learn' the coding to make the form come up 'maximized'.
Hope this is clear enough.
D
Looked thru the threads and found the 'window command' thingie, but that does not work.
When the table contains no records on startup, a special 'dialog' form is called to obtain
the data req'd to run the system. Everything works fine, it's just that the A5 background and title bars show.
I've tried "fill" but that is apparently only for V5.
If I understand correctly, once you open the form in dialog mode, any code that is in the script
and after the open command does not run until after the form is closed.
That would (apparently) mean that the maximize command HAS to be a part of the open command (4th line).
And that would also mean that the maximize command (5th line) would only run after the dialog form closed.
Code:
Date Created: 09-Dec-2005 12:16:06 PM 'Last Updated: 09-Dec-2005 11:43:29 PM 'Created By : R. Coleman 'Updated By : R. Coleman DIM Shared varP_form as P DIM layout_name as c DIM tempP as p varP_form = :Form.view("g_user_form_startup","dialog") :g_user_form_startup.maximize() if is_object(varP_form) = .t. then varP_form.close() end if end
Can't seem to decipher 'pixel coordinates' as a form position, size command.
I need to 'learn' the coding to make the form come up 'maximized'.
Hope this is clear enough.
D