Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two listbox - One position
Message
De
10/04/2001 22:24:51
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
10/04/2001 14:27:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00494106
Message ID:
00494263
Vues:
20
>Oops! I forgot something very important in the explaination
>of my problem. Each listbox is in a separate container.
>And both containers, not the listbox inside, are switching
>between visible and invisible. When one is visible, the other
>is not...
>
>The setfocus does not work in this case. Do you think it's a
>bug. I think so. Try it.

I agree with Alan; you have to toggle the Visible properties of the ListBox AND the Container.

I make extensive use of Grids in Containers that I "hide/show"; unless I toggle .Visible at both levels, I run into problems also.

The less "complex" controls like TextBoxes and Labels in Containers seem to be less of a problem (compared to Grids, etc).

It may be a "bug"; on the other hand, I think it's more of a case of having to exercise more control once one starts doing more "exotic" things in VFP.

In particular, when using "multiple levels of controls" and "hidden controls", you have to now be more carefull about using "arbitrary" .Refresh(es); if you do it at "too high a level" (eg. Form or Page level), you may start to get "hidden" Controls "bleeding thru". Also, "hidden" Grids will "resync" their record sources/relations.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform