main logo
Subject: Re: Reassign a class to another one
Author: "Vassilis Aggelakos"
Posted: 2006/06/30 10:01:53
 
View Entire Thread
New Search


Forms are DBF Files too!

Ok. I'll try to be better this time.

0. BACKUP YOUR FORM (SCX/SCT files)

Try in the command window:
1. USE <formname>.scx in 0
2. Browse

you see all the objects of the form plus some records for internal VFP use.
(every control has its own record - look OBJNAME column)

3. Look in the column OBJNAME until you reach your Textbox.
4. Replace CLASS with <NewClassName>
5. Replace CLASSLOC With <ClassLocation>


-Vassilis


----- Original Message -----
From: "David Crooks" <dcrooks at fadv D.OT com>
To: "ProFox Email List" <profox@leafe.com>
Sent: Friday, June 30, 2006 5:43 PM
Subject: RE: Reassign a class to another one


> On Friday, June 30, 2006 10:27 AM Vassilis Aggelakos wrote:
>
>>Keep in mind that VFP Classes (vcx) are pure dbf files.
>>You can browse them with:
>>USE <ClassName> in 0
>>* locate record
>>Replace BASECLASS With <newClassName>
>
> I obliviously wasn't very clear. I have a form with a textbox that is
> using a class. Now I want assign it to another class that is read-only.
> Unfortunately, the class property is read-only so I need a way around
> it. Thanks!
>
> David L. Crooks
>
>
>
>
[excessive quoting removed by server]


 
©2006 Vassilis Aggelakos
<-- Prior Message New Search Next Message -->