para el control TEXTBOX tenemos los Metodos SETFOCUS y la propiedad CARETPOS, el primero ubica el foco en dicho control si este control tiene datos los mismo son pintados y si en ese momento escribimos este contenido es reemplazado con el dato introducido (sobreescritura).
el propiedad ubica la posicion del cursor dentro de dicho control si introducimos un dato este se hara en la posicion indicada.
seria muy bueno que setfocus pueda partir desde CARETPOS hasta el final del TEXTBOX o los datos que tenga introducidos o pueda especificarse cuantos.
seria de este modo
Code: Select all
Form_1.TextBox_1.Setfocus( nCaretpos, nTo )
Translate Google
Hello everyone:
for TEXTBOX have control and ownership SETFOCUS Methods caretPos, the first places the focus on this control if the control has the same data are painted and if at the time we wrote this content is replaced with the data entered (overwriting).
the property located the position of the cursor within that introduce a data control if this will be done in the right position.
would be very good to setfocus start from caretPos to the end of TEXTBOX or data that has entered or may specify how many.
Thus serious
Code: Select all
Form_1.TextBox_1.Setfocus (nCaretpos, nTo)