>So now I'm assuming I probably have to add this page to my pageframe programatically. So where do
>I put the code to add my page class to my pageframe? My pageframe areadly has several pages, but I
>need to add this page class at the end. Also does this mean that after I added my page class, I
>then add my container programtically. Is adding page class done at runtime or can things be done
>at design time?
If you want to programatically add page classes at design time, you can use the ASELOBJ() function to get a reference to the PageFrame, and then do AddObject() or NewObject() to add your page. For example,
MODIFY FORM fred
ASELOBJ(aPGF)
aPGF(1).NewObject("page3", "pagTest", "pagTest.vcx")