Thierry,
No, I have kept it simple as the original idea was to solve a problem that Mike 
had converting a Dos system to VFP and being able to easily change the 
properties of all objects in the project.

Source is available if anyone wants to extend it though.

Dave



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Thierry Nivelet
Sent: 16 December 2011 11:59
To: [email protected]
Subject: Re: Search and replace special effect and fontbold properties

Did you consider .memberClass ?

Thierry Nivelet
http://foxincloud.com/
Give your VFP app a second life in the cloud

Le 16 déc. 2011 à 11:57, Dave Crozier <[email protected]> a écrit :

> For anyone who wants it I have now finished a small utility program that:
> 
> 1. Creates a named set of base classes, each class being given a 
> pre-defined prefix to its name within the class
> 
> 2. Using the class library created above traverses through all the forms in a 
> project and converts all the non subclassed items to be equivalent classes in 
> the class library.
> 
> If anyone wants the code just say and I'll post it.
> 
> Dave
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Dave Crozier
> Sent: 15 December 2011 09:05
> To: ProFox Email List
> Subject: RE: Search and replace special effect and fontbold properties
> 
> Mike,
> I wrote the code to do what you want last night as it seemed like a useful 
> thing to do and didn't take too much timeIt basically will take a project 
> that has standard VFP classes in it (no subclassed items) and does two things.
> 
> 1. Creates a set of subclasses in a .VCX
> 
> 2. Scans the project in all the forms and replaces all the standard VFP 
> classes with the subclassed classes.
> 
> You can then play around with the subclasses as much as you want.
> 
> If you want me to post it then I'll clean it up a little and put it onto 
> Profox.
> 
> Dave
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Michael Madigan
> Sent: 14 December 2011 20:23
> To: ProFox Email List
> Subject: Re: Search and replace special effect and fontbold properties
> 
> I'm still in the "Foxpro for Windows" thinking mode, not in the OOP VFP mode. 
>   I don't know what I don't know.  
> 
> 
> ----- Original Message -----
> From: "Jarvis, Matthew" <[email protected]>
> To: [email protected]
> Cc: 
> Sent: Wednesday, December 14, 2011 12:52 PM
> Subject: RE: Search and replace special effect and fontbold properties
> 
>> 
>> On 12/13/11 22:12, Michael Madigan wrote:
>>> After doing a conversion from Foxpro for Windows 2.5 to VFP 9.0 , I
> find
>> it takes forever to change the properties on buttons.   Is there a way
> to
>> do a search and replace and change all the button commands to special 
>> effect 3D and font bold = .T.?  I don't even care if everything got
> the
>> same two attributes.
>>> 
>>> Grabbing a group of buttons doesn't work because of the nature of
> the
>> conversion.
>> 
>> Mike:
>> 
>> Make a 'builder' program that will take a form and simply go through
> all
>> the buttons changing the properties that you want.  Pass it the name
> of
>> any form and Bingo!
>> 
>> Have done this several times when we changed the way we wanted our 
>> controls to look.
>> 
>> Dan
> 
> In the past I've done it the brute force way of just opening the SCX and 
> scanning through it making the changes I needed...
> 
> BUT seeing Dave's posting about putting things over into sub-classes makes a 
> lot of sense to me... isn't that how you would want to do things anyway? 
> Might as well kill two birds with one stone...
> 
> Thanks,
> 
> Matthew Jarvis || Business Systems Analyst IT Department 
> McKenzie-Willamette Medical Center
> 1460 G Street, Springfield, OR  97477 || Ph: 541-744-6092 || Fax:
> 541-744-6145
> 
> ----------------------------------------------------------------------
> ----
> Disclaimer: This electronic message may contain information that is 
> Proprietary, Confidential, or legally privileged or protected. It is intended 
> only for the use of the individual(s) and entity named in the message. If you 
> are not an intended recipient of this message, please notify the sender 
> immediately and delete the material from your computer. Do not deliver, 
> distribute or copy this message and do not disclose its contents or take any 
> action in reliance on the information it contains.
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.
_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.

Reply via email to