Thanks Mark, I was almost correct :) Reading up on createFontEx I find the
following: *When the programmer is done with the font, the operating system
resources used by the font can be released with the deleteFont()
method.*I'm not sure what "is done with the font" means. If I do
createFontEx ->
setFont -> deleteFont to modify the font in an editcontrol, will that work
or do I need to wait with deleteFont until the editcontrol is no longer
used, i.e. the dialog is about to close?

Thanks,
Staffan



On Fri, Nov 23, 2012 at 1:26 AM, Mark Miesfeld <miesf...@gmail.com> wrote:

> On Thu, Nov 22, 2012 at 4:07 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
>
>> Oops, I think I found it - setControlFont
>
>
>
> setFont() is always good.
>
> edit = self~getEdit(101)
>
> edit~setFont(font)
>
> It depends on your abstraction.  I would think of telling the font object
> to set its font to whatever, rather than telling the dialog to go set the
> font of some other object.
>
> --
> Mark Miesfeld
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to