Page 1 of 1

dcget - width size

Posted: Tue Jun 07, 2011 11:29 am
by Zdeno Bielik
Hi,

I need in some screens set GET font's for some fields to 'Arial' font instead of default 'Courier' font,
but I don't know name of parameter, which will calculate size of created oGet object with
passed parameter, e.g. with char 'W'.

DCGET cGet GETFONT '10.Arial' GETSIZE 30 ...

Please, can someone help me refresh my memory, because I can't find nothing about this in eXpress++ help...

TIA & Regards
Zdeno

Re: dcget - width size

Posted: Tue Jun 07, 2011 1:18 pm
by rdonnay
If you want to change ALL gets then you would used DCGETOPTIONS .. GETTEMPLATE 'W'.

If you want to change only ONE get then try this:

Code: Select all

@ .. DCSAY .. GET .. GETPREEVAL {|o|o:template := 'W'}

Re: dcget - width size

Posted: Tue Jun 07, 2011 11:27 pm
by Zdeno Bielik
Hi Roger,
thank you
Zdeno

s pozdravom

zdeno bielik
ace system, spol. s r.o.
štiavnická 18
949 01 nitra
http://www.acesystem.sk
tel: 0904 – 328 888
... s nami dostávate vždy viac