Forum > General

Problems with screen.fonts

(1/1)

Legolas:
Hi all!!

I'm trying to make a combobox listing installed fonts in w2000. In delphi I can do

--- Code: ---
combobox.items.assign(screen.fonts);

--- End code ---


or also


--- Code: ---
combobox.items := screen.fonts;

--- End code ---


but does not work in  Lazarus. Some ideas?  :?:

Marc:
What error do you get ?

Legolas:
No error, simply i can't get the font list in the combobox. Seems like that screen.fonts have no items... In fact screen.fonts.count is 0

Marc:
Look if it is reported as bug, if not, bugrep it.

Navigation

[0] Message Index

Go to full version