Hi,
Please read - No need to respond - unless you want to accept the project!
I have a custom ActiveX (written by me - Delphi7.x), that integrates with FF just fine. The problem I am having is accessing the properties of the control within FF. Just not understanding the requirements for settting the properties.
For example in VB - I would use:
MyControl.PageSize = 500
MyControl.PageWidth = 1440
Willing to pay anyone who is willing to create a simple example in FF - using the control - and setting the following properties:
1) PageSize
2) PageWidth
3) Height
4) Width
5) Size
6) PageOffset
Coder gets to keep the copy of the control and unlimited use.
Thanks
Mike
If in VB you're using
MyControl.PageSize = 500
MyControl.PageWidth = 1440
Then in PB you have to use
DIM vVar as Variant
vVar = 500
Object Let MyControl.PageSize = vVar
vVar = 1440
Object Let MyControl.PageWidth = vVar
Hi Jose,
Thanks for the response!
Tried that - I Get Error: 533 when I attempt to Compile. Racking my brains on this issue since yesterday.
Regards
Mike
You get error 533 because MyControl is not declared. Use the dispatch variable assigned by FireFly. If it is the first OCX control in the main form it should be DISPATCH_FORM1_OCXCONTROL1, so change MyControl with DISPATCH_FORM1_OCXCONTROL1.
Jose - owe you a case of beer!
DISPATCH_FORM1_MYCONTROL1 works!
Thanks... and let me know where to send the beer!
Mike
<Removed by Administrator: Totally off-topic. Please post this type of message to the General forum>
Hi Michael,
I live in Valencia, Spain, so the freight will cost you a fortune. Better drink you the beer to my health, but only a bottle every day :)
May I know what does your control? Just curious.
Jose
On your WebSite - add a PayPal Button - "Make a donaction" - and I'll be the first to donate! (Not sure if you have a web-site) 0 but the offer still applies!
Appreciate your assitance! Using ActiveX with FF - requires patience and alot of testing... but if the control is honestly-needed - then the option to use it - is within reach!
Regards
Mike