Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Getfile with keyboard stuffed?
this little snippet works a treat in FP2.6(DOS)
WAIT WINDOW 'Locating Report. Please Wait...'nowait
IF NOT EMPTY(REP)
KEYBOARD REP
ENDIF
m.repname = UPPER(ALLTRIM(GETFILE('FRX','Report form')))
it brings up the getfile dialogue and providing the parameter 'rep' has been passed, navigates its way to the report filename the user selects from the reports database (i.e "rep"). They can then confirm that choice or choose another report if they prefer.
I can't get anything like this working in vfp. The getfile window seems to 'clear typeahead' so that no amount of keyboard strokes make any difference at all.
Is there a way to make file selection friendlier in vfp?
Harry
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