Comment("txt"); How to set font for that?

 
Hello

Is there an "trick" how to set font for Commnet() output?

The default font for Comment() is proportionnal, but my feeling is fixed width font would by better choice ...
 
Try to use TextLabel object. You can change font, fontsize and color
   ObjectCreate("comment_label",OBJ_LABEL,0,0,0);
   ObjectSet("comment_label",OBJPROP_XDISTANCE,10);
   ObjectSet("comment_label",OBJPROP_YDISTANCE,20);
   ObjectSetText("comment_label","Test comment",9,"Arial",White);
   WindowRedraw();
 
 
Thank you for both answers ...

But I allredy know both of them.


Is the answer "Comment() can output only in predefined proportional font and the fon you can not change." correct?
 
NO

You can't change the comment Font
 

> waddahattar 2007.05.02 15:14


Thank You.

Best Regards: JP

Reason: