Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard or Activate cell problem
Message
De
20/07/2000 07:42:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00394793
Message ID:
00394816
Vues:
10
>Peter,
>
>You need to change the way you think about the grid. The columns of a grid have only one real row and only one real control. The others are phantoms. If you want to work with the rows in the grid use the underlying recordsource, not the cells. To put focus on the first column of a new record do this;
>
>
>SELECT (thegridsrecordsource)
>APPEND BLANK
>Thisform.Grid.SetFocus()
>
Jim,

You are of course right, and it works like a charm.
The reason I used the other approach was, that I´d thought I could mimick the behaviour of ALLOWADDNEW and the keyboard down arrow.

Thank you!

Regards
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform