Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit box
Message
 
 
À
06/09/2003 10:47:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00826740
Message ID:
00826741
Vues:
19
Gaylen,

Make sure you add a chr(13) to the string you are puttin in for the date/user id. Then set the edt.SelStart = len( edt.Text ). I believe you have to do this in the GotFocus() along with issuing a nodefault to prevent the baseclass behavior:

nodefault
this.SelStart = len( this.Text )

>If it is possible, how can I get an editbox to look like a yellow legal pad with lines? Also I want to stuff a date and user id as the first line of the edit box and then have the cursor located in the second line so they can add the text. I have no problem stuffing the date and user id but am having problems locating the cursor on the line underneath the date and Id.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform