Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I make page unvisible?
Message
De
11/12/1999 22:58:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00292684
Message ID:
00302341
Vues:
32
Hi Nadya,

>I should say (if it allowed to me), that this approach is very far from satisfactory.

Sounds fair ...

>The same, of course, should be for PageCount. If, for example, I'll change this property after my object is instancinated, you should increase/decrease options.count appropriately. Etc...

... Already done, try it. Do you expect something different? I tried to think a head about anyhitng someone might want changed at runtime ...

>Same thing should be aplied for Caption property. If I want to change it in your TabPosition, I should write this.Caption=MyCaption and don't need to invoke some method explicitly.

... Whoops, missed that one :-) The things about this, is that its apart of the Page, not the pageframe, which makes it harder to add a direct assign method without more classes (which I didn't want to have to do but might) ...

>Suppose, we want to change page visibility from page Refresh() method.
>What should we write: this.parent.MakeTabVisible(this.count (or whatever property),.f.)? Why we can not just say this.visible=.f. I beleive, you add visible property on the fly, right? So, you should have an ability to read/write this property.

... Same thing. I have a feeling that the methods version for the caption and the visiblity.

>In VB for each custom property in our ActiveX we have Set/Get. What is VFP analogue? Read/Write?

I'm not sure what this means. Analogue? Like Music :-)

>So, do you understand, what do I mean? ...

Yep, thanks for being honest too. But, you do have the source code you know, and there's nothing preventing you from modifing it yourself and sending it to me or posting updated code here. Thanks for the heads ups though.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform