Lookup of fonts in windows

kjboloekjboloe Member Posts: 56
Hi
I would like to lookup the installed fonts in windows.
Is that possible ?

I was thinking of something with automation.

I have a field with the font name and an other with the font size.

So when I have selected a font, I would like to lookup the font-size.

Hope that it is possible :?:

Otherwise the user have to copy/paste the information.

Kind regards,
Kenneth
Kind regards

Kenneth Jarlshøi Bolø
Dynateam A/S

Comments

  • nunomaianunomaia Member Posts: 1,153
    Yes it’s possible. In reports that select a folder or a file are using a similar method.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • kjboloekjboloe Member Posts: 56
    Hi

    How do I get a list of the installed fonts, so that the user can pick one ?

    /Kenneth
    Kind regards

    Kenneth Jarlshøi Bolø
    Dynateam A/S
  • kjboloekjboloe Member Posts: 56
    Hi

    I have now a form where I can pick a font and a font size \:D/

    Thank you for all your help =D>

    Kind regards,
    Kenneth
    Kind regards

    Kenneth Jarlshøi Bolø
    Dynateam A/S
  • NagiNagi Member Posts: 151
    Could you post your solution? Perhaps it could benefit other users on this forum.
  • nunomaianunomaia Member Posts: 1,153
    Nagi wrote:
    Could you post your solution? Perhaps it could benefit other users on this forum.

    In Common dialog control you can call ShowFont function. Open codeunit 412 and Check functions of automation CommonDialogControl
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
Sign In or Register to comment.