Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to display text without word wrap?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00151158
Message ID:
00155601
Views:
24
Hi again Andrus,

Sorry, my other post had a typo. Here's the corrected version:
* m.file is the name of the text file being displayed.
DIMENSION a_settings(25)
MODFILE FILE (m.file) NOEDIT NOWAIT
m.whandle = _Wontop()
* Get the editor settings
= _EdGetEnv(m.whandle, @a_settings)
* Turn off word wrap
a_settings(16) = -1
* Set word wrap off
= _EdSetEnv(m.whandle, @a_settings)
* Maximize the window so that the new
* setting take effect.
<B>= _WZoom(m.whandle, 2)</B>
Sorry,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform