Information générale
Catégorie:
Codage, syntaxe et commandes
>>Hi,
>>
>>On one form, I'm displaying a text box which is bound to a memo field. There's more text than will display in one screen so the user has to scroll down. If they scroll down, say to the middle or bottom of the text, and then click on a field somewhere else on the form, the text box reverts to the top of the memo field.
>>
>>I think that this is because the cursor in the text field is at the top. If you scroll down by moving the cursor downward with the down arrow button, then click on another field, the text box does not change.
>>
>>Is there a way to lock the text box position regardless of where the cursor is?
>>
>>TIA
>
>Larry, have you tried setting the SelStart property and then setting the SelLength to 0?
That would work, because that would effectively move the cursor (ok, the "insertion point")... but how do I know what value to set SelStart to?
TIA
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement