Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling through a typed text ?
Message
From
19/11/2009 18:58:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Scrolling through a typed text ?
Miscellaneous
Thread ID:
01435706
Message ID:
01435706
Views:
109
Is there a way to allow scroll through a typed text in a window.

In a manner similar to [modify file sample.txt] where you can scroll through a text -

i would like to open a window (outside the VFP screen) that will allow the operator to scroll the text - I need a scroll bar to be generated int he window. The contents of the text will be variable depending on the selection but cannot be fully housed in a window without scrolling.

My problem is that the 'type' command simpy types the full message and the upperpart of the message disappears as the type process continues past the window constraints. In this case filetostr will not work for me as the text is formatted to display aligned schedules.

DEFINE WINDOW bmsched5 zoom GROW close SYSTEM;
FONT 'lucida console',6 ;
STYLE 'n' ;
in desktop ;
FROM 0,140 TO 55,222 ;

activ window bmsched5
TYPE "sampe formatted text"

activate screen

thanks

k
Next
Reply
Map
View

Click here to load this message in the networking platform