Page 1 of 1

OpenFileRequester

Posted: Mon Sep 06, 2010 11:36 pm
by IdeasVacuum
PB 4.51 x86 WinXP32 Sp3

If the OpenFileRequester is the only Form in your app, it defaults to the top-left of the screen. I would like it to default to center screen, or optionally be able to input x/y location values.

Code: Select all

                               sPattern.s = "Text Files (*.TXT *.txt)|*.TXT;*.txt"
                            sDefaultDir.s = "C:\"
                       iPatternPosition.i = 0
                                   sMsg.s = "Browse to file to be processed"
                      sImportFolderPath.s = OpenFileRequester(sMsg, sDefaultDir, sPattern, iPatternPosition)

End