>As for your foreign character form, the problem you ave to overcome is that when your foriegn character fomr gets focus the editbox loses focus. Then when you return to the editbox the selstart is reset. You have to design a method of saving the selstart in the editbox before the other form is open so that you can restore it whne the editbox regains focus. How you choose to do this is dependent on how everything else works in your application.
>
>You can create an editbox class for this purpose where you have a custom property for saving the selstart from the lostfocus event and restoring it in the gotfocus event.
Here I go again with 'other way round' suggestion. The textbox/editbox should pass itself as a parameter, and the job of saving/restoring the .selstart could be done in the foreign character form itself. This way we may make it general enough and not have to add the feature to all the textbox/editbbox classes where we may want to use it. See the other thread (copy & paste programmatically), I've had some idea there of how to do it.