>>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
It's likely because your screen has been turned off and you're using your main window as a top level form. Try this:
_SCREEN.Visible =.T.
_SCREEN.Windowstate=2
REPORT FORM MyReport PREVIEW
_SCREEN.Visible =.F.
You may also have to minimize whatever other forms are up, with their Windowstate properties, but this should get you started.
JR
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com(941) 743-0108
(800) 246-5488