Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting classes into 1 vcx
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048070
Message ID:
00048484
Views:
26
>>Barbara, a question if I may:
>>I have now created my own toolbar with myclasses established apart from visfoxpro's standard classes. Problem is prior to this milestone I created a nice form and customized it extensively using the standard classes. How can I transfer the work to my own standard form without losing my prior effort?
>
>First, make a backup. Make 2 if you want. Then open the form as a table
>
>USE myform.scx
>
>Go through the form looking at the fields CLASS and CLASSLOC. You can change these to match your own forms with REPL or individually if there aren't too many (LOL). CLASS should contain the correct name of your new class (mytxtbox for textbox, etc.) and CLASSLOC is the location of the class. DON'T hardcode the full path. In my forms, I have code like
>
>..\o3libs\o3fwctrl.vcx
>
>which shows the library is in a subdirectory under the project file.
>
>Probably should try a couple of records and then close the form/table and check it as a form. If it's working, finish the job.
>
>I do this regularly when copying forms from old projects. It will NOT change any changes you made to a control in the properties area. All those changes will remain the same.
>
>HTH
>Barbara
I also created the form using the standard form, does this affect the above?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform