Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show blinking text. Print overlay.

Status
Not open for further replies.

exodus1

Programmer
Feb 6, 2002
4
US
Hi everybody! I have 2 problems (different topics), here it goes... My client has converted from Dbase-for-Dos to VFP 6. In Dbase, setting the color with a *, caused that text to blink, in VFP this does not seem to work, does anybody have any suggestions (remember! we are not using any fancy OOP's stuff).
The other problem is that in printing a catalouge I have a graphics file that I am printing & then I need to print data, so now I have 2 VFP reports & the user must reinsert the printed page to print the graphics overlay. Is there anyway that one can send 2 reports to the printer to print the same page again.

Thank You
 
1- Without using a form with a timer control which changes the text color when it fires, no. There's no such thing as blinking text/colors with windows. You have to do it yourself.

2- You can use the report generator to create your report and set the graphic as a background picture.

Dave S.
 
You might wanna look up SET COLOR OF SCHEME command in on-line help.
I have also looked up on-line help for VFP 3.0. It says, in particular, that it depends on your H/W and S/W (OS) whether the asterisk works or not.
I tried @ Row, Col cExpr COLOR cColor*/cColor in VFP 3.0 and 7.0 - neither of them blinked even though I set BLINK on.

If it's of that big significance for the customer, you may try to create subclass (look up DEFINE CLASS command in the Help) out of standard Label or TextBox class and make the ForeColor property change every so often.

Regards,

Ilya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top