Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Containers and Listboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00544994
Message ID:
00545045
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>I have a pageframe with 2 pages. On each page there are 14 containers, each placed in the exact same position so that it looks as if there is only 1 container. In the Init event I use SETALL to make all of the containers visible and then explicity make visible the particular container that should always be seen first.

>Each of these containers has a listbox and several text boxes. The user has 14 choices and depending upon which choice he/she makes I set all of the containers Visible to .f. and then make the container pertinent to their choice become Visible.

>My problem is that only the listbox that is the container on top (In the form designer use "Bring to Front") will fire the double click method for the listbox. No matter what I can't get the others to fire and I cannot for the life of me figure out why.

>Any ideas?

>Thanks in advance,
>George

Try setting z-order. I've never used it, though. I always move any containers I want invisible off of the sceen (obj.left = -5000) and set visible = .f. in the object's move event. Moving the object off the screen prevents any undesirable ghost images from the other containers from occassionally appearing.

Gerry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform