I should go back to the tutorial and cover form building, but this seems so basic. …
This file opens one form in an .initialize routine. It looks a lot like:
//rectanglesize(TOP, LEFT, HEIGHT, WIDTH)
openform “ACA Password Entry”, “Title”, “ACA Password Entry”, “NoButtons”, “yes”,
“toolbar”, false(), “Scrollbars”, false(), “noversionbutton”, “yes”,
“shadow”, “no”, “WindowsMenu”, “no”, “noicon”, “yes”
From reading the Help descriptions, though I disable all the controls, I’d still want a form window instead of a dialog window.
The problem is, like the way a 2 or 3-year-old listens to their mother, nothing is done. I still get the database name in the title, the icon, the window menu, etc. And though I change the dimension of the window in rectanglesize(, then Save, close the window, close the database, and reopen, the form stays the size it was before.
So it’s like it sees the OpenForm, but ignores the rest.
I’m not using a dialog window because eventually, I’ll want to open the database, windowless,
pull a value from a field, and close the database. Maybe it doesn’t matter if, when it is opened, the .initialize doesn’t fire and data is just pulled from a record.
As a StandAlone it would be waiting for me to enter two fields of data. But a simple form (with all those features turned off) seems like it would do the job without invoking any of the timing issues (resume, etc.) associated with a dialog.
The OpenForm doesn’t aways ignore those additional parameters. Sometimes they do what is expected.