Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Date hot key in memo edit object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00110599
Message ID:
00110684
Vues:
22
>Terry,
>
>You can use the editbox.SelStart property to identify where the cursor is within the current edit text area. Then you can string parse and insert the text.
>
>
>This.Value = left( This.Value, This.SelStart );
>           + dtoc( date()) + chr(13);
>           + substr( This.Value, This.SelStart +1 )
>
This presented some interesting ideas but I was unable to get it to respond to Ctrl+D in the keypress event (Alt+anything being listed as forbiden in the help text I used Ctrl+D instead). I am unsure what your
 
coding is for but if you used this code in another method / location please let me know.

Thanks again for the very prompt help.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform