Hi,
is it possible to select Pages of a Pageframe programmatically?
what i am trying to do is, upon start the Page Frame with 3 pages is disabled, and the main form has 3 command buttons.
whenever you click any command button, the command button will enabled the Page Frame and should automatically set the active page based on the command button.
lets say command1 enables Page Frame and sets focus on Page1
Command2 enabled Page Frame and sets focus on Page 2
and so on.
i am using VFP 9, and have tried PageFrame.activepage = 2 didnt work, still active page is 1
i tried pageframe.page2.setfocus() didnt work..
i was wondering if automatic selection is possible
is it possible to select Pages of a Pageframe programmatically?
what i am trying to do is, upon start the Page Frame with 3 pages is disabled, and the main form has 3 command buttons.
whenever you click any command button, the command button will enabled the Page Frame and should automatically set the active page based on the command button.
lets say command1 enables Page Frame and sets focus on Page1
Command2 enabled Page Frame and sets focus on Page 2
and so on.
i am using VFP 9, and have tried PageFrame.activepage = 2 didnt work, still active page is 1
i tried pageframe.page2.setfocus() didnt work..
i was wondering if automatic selection is possible