Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is affected by Set-step-on command
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
What is affected by Set-step-on command
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01653346
Message ID:
01653346
Views:
166
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
Next
Reply
Map
View

Click here to load this message in the networking platform