Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel sheet displaying from General field
Message
From
16/10/2001 09:03:51
 
 
To
16/10/2001 08:46:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00568939
Message ID:
00568962
Views:
19
Thanks, this indeed a step further!

Any way to catch the moment when user finish to edit the Excel document? From what I see in the events log, only Pint() event of the form and screen is called. Sometimes also screen.resize() is called, but it is not reliable.

>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!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform