Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you activate a grid?
Message
 
 
À
10/10/2000 07:35:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00427195
Message ID:
00427221
Vues:
15
Rolad, application can work with read events in ONE and ONLY ONE place. In other words, when you put another Read Events somewhere in application, it will be ignored at all. VFP don't have multiple levels of Read Events. You need to re-work your application to use modal form with grid instead of read events.


>Main Form has 3 fields, a search command button, and a grid and 7 other detail form and matching reports.
>
>Main Form Loads; Initially the grid is invisible.
>
>The user enters search info and click on search command button.
>
>If the search finds one (1) matching record; it displays the detail form (1-7) and if the search finds more than one matching record it makes the grid visible, but it won't process the grid (goes on to the next line of code - do program before it gets a click). I have to issue read events to make the grid activate so that the user can click on the desired record to display the detail form (1-7).
>
>This gets the grid going but after detail form displays, it returns to main form (line after read events) and then makes the grid invisible, makes the first field have focus.
>
>But when the user enter search info again and click on the search command button nothing happens. (Click does not fire)
>
>What would be the proper procedures to launch main form, enter search info, click on command button, use grid, display detail form, print report (1 page) and then return to the main form. Repeat procedure as many times as users desires.
>
>Thanks in advance!
>Roland...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform