General information
Category:
Forms & Form designer
You can use SaveasClass method for PageFrame too.
If you wish to somehow indicate that page was activated, then you have a number of choices. Among them are changing caption text color font, or page backcolor, or add label and make it visible, etc.
Anyway I think that your word "poorly" represents just that you don't like how you did it. And to answer your question it would be good to know what you actually do not like.
>>Joe,
>>
>>Any form you can convert to class using form.Saveasclass method.
>
>I don't want a form class I want a pageframe class.
>
>>What do you mean, "poorly"?
>
>I mean I implemented it poorly.
>
>> What is wrong with Page.Click or PAge.Activate methods?
>
>Nothing is wrong with them... It would be nice to have a logical
>value on a page to indicate that it has been clicked.
>
>
>
>>>I've been working on a pageframe class that would allow me to disable
>>>certain pages and only enable them if the certain other pages were viewed (clicked). I've implemented this already but it's done poorly and not in a class. Does anyone have any ideas on how to do this with a class? I see that I cannot add properties to a page which would help. If I could add something like a "clicked" and an "EnableWait" property to a page in the class it would work better.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only