Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container in Grid Column
Message
De
02/03/2001 12:21:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Container in Grid Column
Divers
Thread ID:
00481442
Message ID:
00481442
Vues:
44
Hello all,

I have a container class that has 3 text boxes. In the key press event of each text box. I have the following code:
do case
   case arrowup
      if bof()
         locate
      else
         skip -1
         if bof()
            locate
         endif
      endif

      thisform.refresh()

   case arrowdown
      if eof()
         go bott
      else
         skip
         if eof()
            go bott
         endif
      endif

      thisform.refresh()
endcase


I put the container class in a grid, when the user press the down arrow key,
focus always gets set to the 2nd textbox and not the first. I tried putting a 
setfocus to the first textbox in the above code and it didn't work. Anybody have any suggestions. The uparrow key works fine. Thanks for your help.

Randy
Randy Belcher
AFG Industries, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform