Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars on Window
Message
From
31/10/1997 21:28:41
 
 
To
28/10/1997 11:51:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056082
Message ID:
00057720
Views:
31
>>You could just use the REPORT FORM MYREPORT PREVIEW command. That gives you scroll bars automatically.
>>
>>JR
>>
>>>I am creating a window to display a report. I have read through all the articles here but
>>>I fail to find anything about putting scroll bars on a window. I searched the files for
>>>the active-x control talked about in one thread but did not find it. Anyone have any idea
>>>on how to add scroll bars to a window?
>>>
>>>Thanks
>
>Hi..
>
>This works fine in foxpro, but when I run it in a compiled program, the preview does not show up...just the print options box....any ideas.
>
>Gary

Instead of using scroll bars to view the report. Just
make an edit box which holds the report in a memo.
Add arrow buttons also capture through key press arrow
presses on the keyboard. Create the edit box large
enought to hold the entire report even though the report may
not be visible on the screen. Now just fake the movement
of text by changing the values of left and top of the edit box.

You may have to place the edit box in a container to prevent
the box from moving over any other controls you have placed
on your form.

Hope this helps.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform