You could also look at the Lianja scx/vcx importer. Has been quite some time since I touched that,it did a lot to identify hierarchies of different vcx files and linkages there (which is not your poblem here, I realize). As Lianja uses .prg with syntax 90-plus odd identical to vfp, you might get further on. Or at least have another source you coukd enhance if that is your target. One solution could be to translate into .addobject / addproperty calls such deep nested structures. It was one of the code paths tried out about 4 years back, dunno current state of things.
As Dragan said, better expect to hack a bit and be glad if such a tool will get you to a point where you only have to fix up a a dozen or so lines.
Do not expect something you can use repeatedly every week (there won't be changes to the vcx code that often....) unless you invest time into the conversion tool yourself to encompass edge cases typical for the kind of vcx you are importing.
>Thank you Thomas for the VFPX link.
>I downloaded browserX :same UI as VFP9 browser class.this browserX is supposed to support containers in classes.
>
>do "browserX.app" with "vfpscrollbar.vcx"
>
>I obtain the prg code but it crashes also (called as "set proc to asupX addi").this syntax is not supported:
>
>ADD OBJECT scrollthumb.sbcontainer1.spline2 AS spline WITH ;
>.....
>
>
>NB: the file browser.h (pointed with #include in code)is absent in the zip !
>can you try to test with the link i gave for vfpscrollbar.vcx !