Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create an object from an scx file.
Message
From
27/03/2000 17:48:08
 
 
To
27/03/2000 00:16:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00350593
Message ID:
00351065
Views:
20
>>Hi,
>>
>>As part of an effort to write a FPD to VFP converter I create a VFP form for each old screen. Some of them need to be combined as pages of a pageframe. Each of those forms already has an added pageframe and the objects have been placed in the correct page.
>>
>>It doesn't seem very hard to combine them by hacking the files, but is there a more OOP way of doing it? Can you create an object from an scx file?
>>
>>TIA,
>>
>>Alex
>
>You can get an object reference to the form after it is open in the form designer with ASELOBJ() or SYS(1270). With an object reference, you can add stuff with Form.AddObject.

Thank you Erik. That is what I was looking for.

FWIW, I did it by combining SCX files and deleting the first three records and/or last two records of some of them.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform