Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls hide when the form is activated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00451908
Message ID:
00453304
Vues:
42
Hi Marc

Neither ThisForm.refresh nor DoEvents fixes the problem. I have been doing some experimenting and found that it is related to the expression I use in a grid Column. I have a grid column that uses the following expression in the controlsource:

ThisForm.LongDate(FPGames.DepDate)+' '+ThisForm.GetTime(FPGames.DepTime)+' '+Left(ThisForm.dCSeek(FPGames.VenueID,"FPVenues","ID","FPVenues.Id1"),18)

The dCSeek functions performs a normal seek and returns FPVenues.ID1 from the found item.

If I replace the expression with a shorter one there is no problem. Both of these expressions work fine:

ThisForm.LongDate(FPGames.DepDate)+' '+ThisForm.GetTime(FPGames.DepTime)

or

ThisForm.dCSeek(FPGames.VenueID,"FPVenues","ID","FPVenues.Id1")


However, when I use both together I get intermitent display problems. The textboxes, comboboxes, spinners and check boxes all display properly, but the labels, shapes and pageframe and command buttons are not visible. If click on the location where I know a command button exists it activates and displays. If I click on the window frame to change the window from maximized to normal everything redisplays properly.

I will have to do some more digging to try and pin this down further. The problem still happens in VFP 7 beta because I tested it.


Thanks
Simon White




>Refreshing problem??? Try THISFORM.refresh or DoEvents
>(after your last execution)
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform