Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where M I in memo while editing in EditBox
Message
 
À
03/06/1999 14:05:46
Diptesh Patel
Unitelsoftware Ltd.
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00226121
Message ID:
00226142
Vues:
29
>Is there any way to find which position Iam In memo. i.e. which row , column
>
>TIA

There isn't any readymade func available but you can write some code to do it.
For example, I have found out which Row are you on as follows.

WITH ThisForm.edttry
lcText = LEFT(.Value,.SelStart)
ENDWITH
?'Rows : ' + STR(OCCUR(CHR(13),lcText) + 1)

Try to extend the code above and you will get the column position too.

Bye
Jayesh
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform