Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is affected by Set-step-on command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
What is affected by Set-step-on command
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01653346
Message ID:
01653346
Vues:
165
Hi there,

un my POS-app is a class which setps up a window for a second monitor.
It uses Doug Hennigs sfmonitors- class. The class checks if there is a second monitor and loads the form from a form-class and sets its size. In my main app is a peice of code shich does the final setup which is loading a background-image and setting some labels text. This is the code:
*SET STEP ON
IF oApp.cKDMode = "M"
      kdisp.loadkdisplay()
      kdisp.cKopfimage =  oSkin.cthead
      kdisp.nFontColor = 8454143
      kdisp.setupkdisplay()
      kdisp.cZ1 = oApp.cWerbetext1
      kdisp.cZ2 = oApp.cWerbetext2
      kdisp.setwerbetext()
Endif   
But after removing all debugger statements it does not work anymore and my second window is just gray.
When I activate the set-step-on-command again, it works within the IDE.
I tried to replace the set-step-on-statement with doevents andor the windows apu-function sleep but without any success.
So my question ist, what else rhe set-step-on-command is doing and how can I get it working.

Best regards

Thomas
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform