>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only