Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using key combos to delete
Message
 
À
24/09/1998 14:38:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00140526
Message ID:
00140549
Vues:
26
Sergio,

There would be many ways to do this.

If the problem currently is to get the alias for insert, you could do something like this...
IF _screen.ActiveForm.ActiveControl.BaseClass = 'Grid'
    lcAliasToInsert = _screen.ActiveForm.ActiveControl.RecordSource
ENDIF
>I have a form that has a grid, each using a single table.
>
>I want to use key combos to append and delete records to the table in the grid.
>
>I've tried the following sentences in the 'Init' method:
>
>on key label ALT+D delete
>on key Label ALT+N append blank
>
>But when I use it, it doesn't seem to know which table to use.
>After that I used an 'INSERT INTO' sentence with the same results.
>
>
>Any suggestions?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform