Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about SYS(1037)
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00548694
Message ID:
00548947
Views:
20
>There's no way, since the function always returns an empty string. The Common Dialog ActiveX control, however, can be used to do this.

George:

Perhaps you can give me some help with using the Common Dialog control to programaticlly change a feature?

If I call the ShowPrinter() method, navigate through the control, and change a setting, I then see that change reflected in the properties of the print driver. How can I send those same keystrokes from a program?

I've tried
KEYBOARD '{TAB}{ENTER}{TAB}{TAB}{TAB}'
which places me in a check box for "Flip Pages Up" in my currently selected printer. I press Spacebar and watch the checkbox change.

When I added the Spacebar and finishing Enters to the KEYBOARD string, nothing changed. I modified the KEYBOARD string to have {LEFTMOUSE}, but that didn't work either.

I found a workaround for this, but it is very kludgy and has generated a different set of problems.

Any and all help is gratefully appreciated.

........Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform