RE: DBI control update

Author: Kent Belan

Posted: 2011-11-10 at 15:42:20

Hello Tracy,

Thanks for the info, I now have all the controls updated to v1.2 and

everything seems to be working fine.

I only had to update 3 controls ctGrid, ctList and ctTree. Had to update

about 30 forms and classes, not bad.

Your directions worked great !!

I like the way these DBI controls look, but they sure are a hassle to work

with ...

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Tracy Pearson

Sent: Thursday, November 10, 2011 11:16 AM

To: profox@leafe.com

Subject: RE: DBI control update

Kent Belan wrote on 2011-11-10:

> Hello Tracy,

>

> I rebuilt the entire project but that did not change the controls on

> the forms to the new version.

>

> I opened the form.scx file and found the ctGrid OLE control, but not

> sure what field should be changed ?

>

> It looks like the OLE field contains the actual object, and OLE2

> contains the path to the OCX file.

>

> I checked that the OCX in the DBI\Components folder is the new

> version,

but

> the form still shows the old version.

>

> I am guessing that I need to change the OLE field ?

>

> Thanks,

> Kent

>

Kent,

You're guessing right.

Create a form (vfp base form is fine) and add the ole control to it.

If memory serves, this was my method. I only had a couple of places to do

it.

As always, source control and a good back up are recommended. <smile>

Use the newly created form

Find the ole control

SCATTER FIELDS ole, ole2 MEMO NAME ole

Use the existing form

Find the ole control

GATHER NAME ole MEMO

Tracy Pearson

PowerChurch Software

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/6C41E579591440F2941A18A127AC8BE7@LaptopW7

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Kent Belan