Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars on Window
Message
From
01/11/1997 17:33:49
 
 
To
31/10/1997 21:28:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056082
Message ID:
00057813
Views:
34
>>>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.

I also tried using two grids and shrinking them down so that
only the scroll bar showed. Using the edit box I tried to
estimate the position of the scroll bar after it had been
moved. Didn't have much luck in 3. Maybe you would have better
luck.

Dan
Previous
Reply
Map
View

Click here to load this message in the networking platform