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" <[EMAIL PROTECTED]>
To: "ProFox Email List" <[email protected]>
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]
_______________________________________________
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
** 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.