Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Box and horizontal scrolling
Message
 
 
À
29/10/2002 19:38:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00716742
Message ID:
00716747
Vues:
18
Michael,

The ActiveX Forms Textbox control and the RTF ActiveX control supports horizontal scrollbars.

With the Textbox control try this:
this.text = "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test " + chr(13) + ;
   "this is a test this is a test this is a test this is a test this is a test this is a test "
Set EnterKeyBehavior = .f.
MultiLine = .t.
ScrollBars = 3 - Both
WordWrap = .f.


>Edit box doesn't seem to have a horizontal scrolling in case if the line is too long . I am using non proportional font to keep the original text layout with the line width 132. Are the only alternatives to use the smaller font or "MODI memo mytable.mytext" after double-click on this box.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform