Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Several Questions
Message
 
À
23/11/2001 00:05:31
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00585052
Message ID:
00585124
Vues:
28
This message has been marked as the solution to the initial question of the thread.
Hi Jimi,

Answers intermixed below:

>
>(1) Does VB support pageframe as in VFP? or I have to use buttons to hide and show independent frames?
>

Yeah, you want to use a TabStrip control. It's kind of hokey, I recommend the one from Sheridan Software.

>
>(2) How can I add objects into a frame? Just like using container in VFP?
>

Yup. Just make sure you have the tab highlighted when you place the control on it. Note than when referencing contained objects, there's no object calling hierarchy as in VFP, ie; no THIS.Parent.txtName.Value - you can just use txtName.Value from anywhere. VB enforces unique names for every object on a form.

>
>(3) Is it possible and how can I know what functions are available in an OCX? I'm studying a new device and dunno how to use the API come along with it :(
>

Yes, intellisense should pick these up for you in code. In a sub for the form that contains the control, just type the control name and then "." and wait. A popup menu with all of the available PEMs will be available.

HTH,
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform