Author Topic: Change font edit box  (Read 5414 times)

greco558

  • Guest
Change font edit box
« on: August 24, 2012, 06:03:17 AM »
I am not able to change the font in a visual project. After making an edit control the properties will let you select another font but after clicking ok it reverts back to old font. Did something change with this new release?

rsala

  • Moderator
  • Member
  • *****
  • Posts: 296
    • Easy Code
Re: Change font edit box
« Reply #1 on: August 25, 2012, 07:00:03 AM »
Hi greco558,

Is the edit control inside a Window or a DialgoBox? If inside a Window, you should not have any problem. If inside a DialogBox, then you cannot change any children font (please see the Easy Code help File).

DialogBoxes are proportionally sized to its font, that is the reason why child controls always have their parent's font and cannot be changed. You just can change the DialogBox font and you will see how it and its children are proportionally resized.

Regards.
EC coder

xandaz

  • Member
  • **
  • Posts: 108
  • I luv you babe
Re: Change font edit box
« Reply #2 on: August 25, 2012, 07:49:16 AM »
   I didnt know that.... WM_SETFONT,font,0 doesnt work??
nothing to report.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 296
    • Easy Code
Re: Change font edit box
« Reply #3 on: August 25, 2012, 11:34:43 PM »
Not in Easy Code for controls which are children of a DialogBox.
EC coder

greco558

  • Guest
Re: Change font edit box
« Reply #4 on: August 27, 2012, 09:40:28 PM »
Rsala,

 Thanks, that explains it my other programs are windows this is a dialog.
By the way easycode is one of the best IDE's I have used, it makes
programming GUI's quick and easy so you can concentrate on your
own code. Thank you for such a great IDE..

John   

rsala

  • Moderator
  • Member
  • *****
  • Posts: 296
    • Easy Code
Re: Change font edit box
« Reply #5 on: August 28, 2012, 04:41:49 AM »
greco558,

Thank you very much for your kind words. I'm really glad to hear that, since that was the original idea for programming Easy Code.

Regards!


 
EC coder