Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form display question
Message
 
 
À
16/01/2001 16:38:44
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00464425
Message ID:
00464578
Vues:
11
Hi!

Try DOEVENTS command just after you changed the appearance of status object (status form). DOEVENTS cause all Windows events to be processed by VFP before any further work. These events include also painting events that usually not processed until code is finished to run. You can also use _VFP.AutoYield property. However, it might cause slow down of your program, so see what will work more quickly - DOEVENTS or _VFP.AutoYield.


I don't know however if it will work with ActiveX controls.


>Having problems when trying to display a form which displays the status of current tranasaction being executed. The problem is that the form does not display properly ....kind of a half diplayed, like the video memory is being monopolized???? I've tried all kind of controls, Active X themometers, the generic Fox thermo. They all exhibit the same behavior. Frozen until the process ends. The CPU is showing only a 40-60% usage, I have a PIII 550 with 196 megs of RAM and a 16mb Video card. Enough horsepower I'm sure. A code sample.
>
>
>oProgress = createobject('SDTProgressForm')
>oProgress.show()
>oProgress.lblProcess1.Caption = "Archive Transactions"
>Sele cArcMembers
> Scan
> oProgress.lblProcess2.Caption = "Blah..Blah...Blah..."
> oProgress.lblProcess3.Caption = space(2) + "Transaction " +
> allt(str(recno())) + " of " + allt(str(reccount()))
>
>After this a SQL select statement into a cursor...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform