Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel sheet displaying from General field
Message
From
16/10/2001 08:46:30
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00568939
Message ID:
00568950
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Vlad,
What version of VFP do you have? I don't see this behaviour. The only thing I noticed is that after editing the Excel sheet, I need to call OLEBoundControl.Refresh(), otherwise it displays some weird stuff. This happens both in VFP6 SP5 and VFP7.

>Hi!
>
>When displaying Sheet either in OLE Bound Control or in the window for General field editing, Excel sheet tries to display all columns at once. This cause it resized inside of the OLE Bound Control box by such way that all cells appear as a very little rectangles and no way to see something in cells. Changing of values of properties OLEBoundControl.Sizable, OLEBoundControl.Stretch, OLEBoundControl.AutoSize, OLEBoundControl.Object.Windows(1).EnableResize did not helped at all.
>
>Does anybody know what to do to display Excel sheet in the OLEBoundControl correctly so it is not resized to the bounds of the OLE control?
>
>Thanks in advance!
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform