Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unwanted Transparent Forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00676036
Message ID:
00676087
Vues:
18
>>>Eric,
>>>
>>>Where are you populating the list with items? Is it the Form's Init?
>>
>>Ok. Moving the code to form.GotFocus()(lisaG) cures the problem.
>>
>>However, I still don't understand how the underpinnings of a form allows the painting of the titlebar and border but not the interior of the form. Seems to me it should be all or nothing.
>
>Eric,
>
>Where was the code before you moved it? The Gotfocus may not be a good place as it is fired every time the form gets focus. I would do the Populating of the list in the List's Init. Encapsulation means the list is responsible for the list.

The listbox.init() causes the same behavior. That is where I always put code to load a listbox. In form.gotfocus(), I set a flag so the list is only loaded once on creation. I don't like it but I can't have a transparent window popping up every time this form is launched.

What I'm really fishing for here is the reason behind this behavior.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform