Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active X question
Message
From
01/08/2003 16:41:23
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00815204
Message ID:
00816031
Views:
20
That's too bad it didn't work, Greg.

In the past I've dealt with OLE issues concerning "field collections" in Access that were solved by tagging on a .Value; eg.

oRs.Fields( "CLIENTNAME" ).Value = "..."

The obvious "character index" above would make one think that we weren't really dealing with an array ... which I though might have been your situation.

Out of curiosity I downloaded the TXTextControl ...

Actually, .TableCellAttribute is a GET/PUT method that takes one more parameter in the "PUT" ... though attempting the following didn't work either:

TXTextControl1.TableCellAttribute(tableID, tableRow, tableCol, txAttribute, RGB(255, 0, 0) )

This only returned "too many parameters".


>Unfortunately this did not work, although I tried it right away !
>
>I just spent a grueling 10hrs writing a wrapper ocx control in VB.
>
>Had to expose 122 properites, 44 methods (native to the control), and 60 events !
>As well as write 40 new methods to cover the missing attributes !!!
>
> This was the first time I have ever done this so it was quite painful. But at least know I know the ins & outs of creating an ActiveX Control in VB.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform