Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing name of objects --- .SCX table
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Changing name of objects --- .SCX table
Miscellaneous
Thread ID:
01152942
Message ID:
01152942
Views:
63
Hi,


I've developed some code to open the SCX files and "pick" up all the lines with the CAPTION property, because i need to add it to a table (with a field for the path of the object and another field to the caption).

Everything works fine until I found something I've never imagine:

- One of my forms has 1 pageframe with 5 pages.
- The page4 has been renamed to page8.

So, what is kept on the SCX file is:
pgf1.page4.Caption = "My new caption" 
pgf1.page4.Name = "page8"
As you can see, my code will add (to my table) a reference to page4, that it doesn't exist...


Any ideas how to work around?


Best regards,


Ricardo Almeida
Next
Reply
Map
View

Click here to load this message in the networking platform