Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editbox question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00727080
Message ID:
00727088
Vues:
14
Hi,

here's some code that's executed in a Commandbutton::Click. The SetFocus stuff is needed since otherwise the cursor is not set correctly.
thisform.edit1.Value = "Line 1" +CHR(13) + "Line 2" +CHR(13) + "Line 3"
thisform.edit1.SetFocus()
thisform.edit1.SelStart = LEN(thisform.edit1.Value)
this.SetFocus()
Regards,
Armin

>I have something like this...
>myEditBox.Value = 'blah blah 1' + Chr(13)
>myEditBox.Value = 'blah blah 2' + Chr(13)
>myEditBox.Value = 'blah blah 3' + Chr(13)
>
>Is there a way to programaticly get the editbox to scroll to the bottom each time? If the editbox is only 2 lines deep, I'd want to see lines 2 & 3, not 1 & 2.

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform