How to get the system default

Moderator: Rathinagiri

Post Reply
User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

How to get the system default

Post by hmgchang »

Hola Masters,
1. How can I get some system default value such as fontname, fontsize etc.
2. How to make sure the width of a control can fit the text ( i.e. caption/ value for LABEL).
Maybe using gettextwidth, but i need the fontname and fontsize to calculate

Thks n Rgds
Chang
Just Hmg It !
edk
Posts: 916
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: How to get the system default

Post by edk »

_HMG_SYSDATA [ 342 ] -> HMG_DefaultFontName
_HMG_SYSDATA [ 343 ] -> HMG_DefaultFontSize
User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

Re: How to get the system default

Post by hmgchang »

Thks Mr. edk
Where or how can i have complete _hmg_sysdata info ?

Thks n Rgds
Chang
Just Hmg It !
User avatar
jairpinho
Posts: 421
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: How to get the system default

Post by jairpinho »

hmgchang wrote: Sun Mar 21, 2021 9:58 pm Thks Mr. edk
Where or how can i have complete _hmg_sysdata info ?

Thks n Rgds
Chang
edk, I would like to know this information too
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
edk
Posts: 916
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: How to get the system default

Post by edk »

Look into h_init.prg
Post Reply