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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a "flag" image

Status
Not open for further replies.

Me2500

Programmer
Aug 3, 2007
7
US
I am comparing two dates and would like an image of a flag instead of a plain "X" when the two dates do not match.

//if scheduled begin date has past and percent complete is less than 100%, mark with a flag

Global StringVar tryImage;

if {Job_Operation.Sched_Start} < CurrentDate AND {Job_Operation.Act_Run_Qty}<{Job.Order_Quantity}
then (tryImage := "X" );

Any ideas how I can paste an image instead of an "X"?
 
Hi,
Try using the 'WingDings' font for that string and using ChrW(70) to specify the image you want ( should be a flag)..

if {Job_Operation.Sched_Start} < CurrentDate AND {Job_Operation.Act_Run_Qty}<{Job.Order_Quantity}
then ChrW(70);



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top