>>>Aren't there some issues with doing this?
>>>
>>>It would be cool to have the option to work on my classes as a VCX or PRG depending on what I wanted to do. But I thought there was some issue about whether you could make a round trip liek this.
>>
>>Non-visual classes you have to design in a prg.
>
>You mean if it is based on Custom?
>
>I have several classes in a VCX that are based on Custom. So you're saying a Textbox class could round-trip, but not a class based on Custom?
>
>What if the VCX had one TextBox and one Custom. What would happend if I tried to round-trip that?
>
>.
No, I meant class based on session. It can only be defined in a prg. I forgot other non visual classes. As I trick I used I started to create my business object class (subclass of session based) as a custom based class in a VCX first.
You can define custom based class in VCX or in PRG and switch between the two with no problems using the utilities Prg2VCX and VCX2Prg.
If it's not broken, fix it until it is.
My Blog