Jump to content


Photo

How to change font family of dbmemo


  • Please log in to reply
2 replies to this topic

#1 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 13 June 2018 - 06:19 AM

I've tried by using unievents

 

function beforeInit(sender, config)
{
  config.style=" font-family: Courier;"
}
 
But not work 

  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4987 posts

Posted 13 June 2018 - 06:29 AM

Hi,

 

Just use

 

UniDBMemo.Font.Name = 'Courier'


  • 0

#3 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 13 June 2018 - 06:44 AM

THANKS


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users