Information générale
Titre:
Problem with Windows Open dialog
I'm basically reposting a message that I wrote yesterday, but I don't think I gave enough info, asked the right question, etc. anyhoo...
I've written a simple program that opens only one component of my program, the main pageframes. I don't want the standard VFP desktop, I want to use the form as top level, as it has all that is necessary to run it (find, next record, exit, etc.). I've got the form to run if I hardcode the location of the database file into the main.prg. However, I'd like to make it so that before the form comes up it goes to a default directory and when the file isn't found there it brings up the standard windows open dialog. So in order to do this I used LOCFILE() and it works fine, however, when it brings up the open dialog it must move it off the screen. I say this because there is a button on the taskbar that says Open, but the dialog box is nowhere to be found. What am I doing wrong? How can I tell the box to stay in the middle of the screen without using VFPs desktop? I appreciate your help:)
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement