>>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement