Recent

Author Topic: Problems with screen.fonts  (Read 4304 times)

Legolas

  • Full Member
  • ***
  • Posts: 117
    • http://itaprogaming.free.fr
Problems with screen.fonts
« on: May 28, 2005, 11:30:37 pm »
Hi all!!

I'm trying to make a combobox listing installed fonts in w2000. In delphi I can do
Code: [Select]

combobox.items.assign(screen.fonts);


or also

Code: [Select]

combobox.items := screen.fonts;


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

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2706
Problems with screen.fonts
« Reply #1 on: May 30, 2005, 10:58:17 am »
What error do you get ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Legolas

  • Full Member
  • ***
  • Posts: 117
    • http://itaprogaming.free.fr
Problems with screen.fonts
« Reply #2 on: May 30, 2005, 01:02:38 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2706
Problems with screen.fonts
« Reply #3 on: May 30, 2005, 05:52:25 pm »
Look if it is reported as bug, if not, bugrep it.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018