Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars on Window
Message
De
31/10/1997 21:28:41
 
 
À
28/10/1997 11:51:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00056082
Message ID:
00057720
Vues:
36
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform