Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid & editbox,cursor moving to the beginning of the edi
Message
De
01/02/2005 12:37:15
 
 
À
01/02/2005 11:55:56
Kari Sinivuori
Atk-Palvelu K.Sinivuori
Tuusula, Finlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00981104
Message ID:
00982738
Vues:
42
Kari

I downloaded, built and ran it. If this is how the system is set-up then I may be able to help. Did you realise that InteractiveChange event occurs with EVERY user interaction? i.e. every key stroke takes you back to the beginning. I commented out the code in the IC event and the editbox let me type wherever.

If, when editing in the edit box, you want to disable page 1 (quite sensibly) then you can't have this in the IC event - it'll happen every keystroke. You want en EDIT button, or some such, that will enable the grid for editing AND disable page 1. SAVE button reverses this.

Ta-da!

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform