Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Control
Message
 
À
29/10/1996 15:45:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00011066
Message ID:
00011115
Vues:
41
>>>I have an OLE control (on a tab)into which users are scanning documents. Everything works beautifully except that the full-page documents are larger than the visible window. I have made the OLE control as large as possible, but I can still only view a piece of the document. Is there any way to make the control scrollable?
>>>
>>>Thanks in advance for any help.
>>
>>What is the OLE control based on? If it is an ocx control then if the ocx control doesn't have scroll bars, your stuck. If it is based on a link to a general field then it should invoke whatever paint program the Windows registry has associated with bmp files (or whatever format they are coming in on). If that paint program has scroll bars, which almost all do, then the scroll bars should appear automatically.
>>
>>HTH
>
>Todd: Thanks for joining me on this one!! The OLE control that I am using is VFP's own. To invoke the registry program, the user muse double-click anywhere in the control. It just would be so much nicer if the window were scrollable in VFP rather than clipped. Sounds like I am stuck, though . . .??
>
>Thanks again!
What I would do is this

1. create a table with a general field
2. use the append with link option to put in the file that has the scanned image.
3. use a form with an olebound control to the general field
4. let ole do the rest. You should end up will inplace ole 2.0 with a scrollable scanned picture.

Read up on general fields and ole linked objects with the olebound control for more help on specific syntax.

HTH
Todd Burstain, MD
infinitydoc@delphi.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform