Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add/remove form objects and black form area
Message
De
15/03/2010 12:31:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01454586
Message ID:
01454592
Vues:
46
>>Hi,
>>
>>I have a form to which I add several container objects or remove existing container objects. When the form is resized the current existing objects will be re-arranged in order to show as many as possible horizontally without needing to scroll and then moving down the form if more space is required. i.e. a vertical scroll bar will become added as more objects are added. Sometimes objects can be removed from the form.
>>
>>Generally this works as required. However, sometimes when the form is resized or objects added/removed VFP suddenly displays a black area on the form from a random point downwards to the bottom of the form. This whole area is just black. Resizing the form, which triggers the resize event, re-displays the form objects properly again. Any idea what this black area is and how to prevent it occuring?
>>
>>TIA
>
>Try either thisform.cls() or thisform.draw() after you add objects.

Thank you. Running thisform.draw after adding/removing all objects works fine.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform