Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can preview those SELECTED, but not Print those SELECTED
Message
From
02/05/2007 15:56:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01221933
Message ID:
01221971
Views:
19
>>>Hey Gang!
>
>(clip)
>
>>
>>Could it be that you have focus on grid when printing?
>
>I assume so. I click on 3 different Rx's in the Grid, then hit the Print PMB label (we are using labels there, instead of buttons, to select what to do).
>
>Since we are using Labels instead of Buttons there, could this be a cause of the grid not losing focus.
>
>By the way, how does the grid not losing focus cause this problem?
>
>Thanks!

When VFP activates Preview, or any other window it fires certain events known (e.g. Grid.AfterRowColumnChange) and unknown (internal code). These events may cause VFP to change active area that supposed to be scanned during print.
You may set focus on any control on that form before printing (i.e. before final Select command).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform