Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls not displayed properly in Form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Controls not displayed properly in Form
Divers
Thread ID:
00602679
Message ID:
00602679
Vues:
62
Hi

I have a toolbar with graphical check box for each MDI form open in my application. When you click on the check box it makes the associated form the active form. This gives a similar functionality as docked forms to my application.

If the forms are maximized and you click on the Check Box in the toolbar the form is activated but controls from the previously active form are displayed in the current form. The result is a jumble of controls on the active form. This happens randomly. However if I click different Check box to activate different forms a number of times consecutively it will eventually happen.

If the forms are not maximized the problem does not occur.

VFP 7 documents says that the Draw method of a form repaints the form. I have tried issuing oActiveForm.Draw but it does not repaint the form. The form remains in the jumbled condition. The only way to fix the form is to change the WindowState property to 1 then change it back to 0 or 2.

Is this some kind of VFP bug?

I am using a Dell Optiplex PIII 450 128mb Ram with an ATI 3D Rage Pro video card and Windows 2000 SP2. I have the latest video drivers that are available.

Simon White
Simon White
dCipher Computing
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform