dcget - width size

This forum is for eXpress++ general support.
Post Reply
Message
Author
Zdeno Bielik
Posts: 147
Joined: Thu Jan 28, 2010 9:24 am
Location: Nitra, Slovakia
Contact:

dcget - width size

#1 Post 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

User avatar
rdonnay
Site Admin
Posts: 4734
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: dcget - width size

#2 Post 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'}
The eXpress train is coming - and it has more cars.

Zdeno Bielik
Posts: 147
Joined: Thu Jan 28, 2010 9:24 am
Location: Nitra, Slovakia
Contact:

Re: dcget - width size

#3 Post 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

Post Reply