Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Browse Windows
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01473633
Message ID:
01473637
Vues:
53
One possibility is to use name clause of the browse command to simulate a grid. Or simply use a form with two grids - it will be a better solution.

>I need to open 2 simultaneous Browse windows, allowing the user to go back and forth between the windows to reconcile records of one window against the other. However, when I use
>
>
>DEFINE WINDOW browse1  IN DESKTOP  FROM 5,5   TO 30, 180 FONT 'Arial', 8  STYLE 'N'
>DEFINE WINDOW browse2  IN DESKTOP  FROM 5,5   TO 30, 180 FONT 'Arial', 8  STYLE 'N'
>
>SELECT (cFile1)  && the Bank Statement file (External data).
>GO TOP
>BROWSE window browse1 NOAPPEND NODELETE NOWAIT
>
>SELECT (cFile2)  && Database file (Internal data).
>GO TOP
>BROWSE window browse2 NOAPPEND NODELETE NOWAIT
>
>* Program execution should no go beyond this point, until the user closes BOTH browse windows.
>
>RELEASE WINDOW browse1
>RELEASE WINDOW browse2
>
>
>
>The program does not stop to allow the user to switch between the windows. It just leaves the window open and proceed to the following statements.
>
>If I remove the NOWAIT from second BROWSE statment, then as soon as I switch to the first browse window, the second one closes and the program execution continues.
>
>Thank you in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform