Bhavbhuti,
Are you dealing with a subclassed pageframe that has pages in it? It's best to have your PageCount = 0 for pageframe classes, then you set the PageCount when you finally instance the class, this will allow you to freely name the pages and change their orders.
>I have this form with a pgf and few pages. I have manually set the PageOrder for each page in the designer, when this form is instantiated the page order changes back to the page creation order.