D - dig's listboxes
- Carlos Santander B. (28/28) Aug 22 2003 Burton, is there a reason why the fontface of listboxes doesn't change?
Burton, is there a reason why the fontface of listboxes doesn't change? I have a class like this: class DigFont : Font { this (Font f) { super(f.log); } void name(char[] fontface) { sprintf(log.lfFaceName,"%.*s",fontface); } void assignTo(Control c) { c.font(new Font(log)); } ... } So in my sourcecode I do this: class MyFrame : Frame { this() { super (); ... with (new DigFont(font())) { name("Tahoma"); assignTo(this); } ... } } And I assign to every control (actually, the same class takes care of that) and their font face changes, but not for listboxes. ------------------------- Carlos Santander --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19
Aug 22 2003