Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Box and horizontal scrolling
Message
 
 
To
29/10/2002 19:38:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00716742
Message ID:
00716747
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform