Sylvain, You can get the selectedChunk. If it is just a blinking insertion point it will return a value which looks odd (something like "char 4 to 3 of field 1", but this is quite useful. You see "char 4 to 3 of field 1" means that the insertion point is blinking between characters 3 and 4 of field 1. Why isn't it "char 3 to 4 of field 1"? Because this would mean characters 3 and 4 have been highlighted (selected), just as "char 3 to 3" would mean that character 3 was highlighted. I know it looks odd, but it works...
Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sylvain Le Gourri�rec" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 1:53 AM Subject: insertion point in a field hello, how can I get the location (e.g. char 25) of the insertion point in a text field? thanks ---------------------------------------------------------------------------- ----------------------------------------------------------------- Sylvain Le Gourri�rec -- d�veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
