[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] AmiBroker 4.72.0 BETA released



PureBytes Links

Trading Reference Links

read pixels - thought twips.
 
my bad..
 
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Friday, September 09, 2005 9:12 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] AmiBroker 4.72.0 BETA released

No it is not that.
 
Width is SIXTH parameter, not fourth. Fourth is foreground color.
 
Should be:
AddColumn(pchng, "Pct. Chg.", 1.2, colorDefault, colorDefault, 160 /* width here !!! */ );

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: dingo
Sent: Saturday, September 10, 2005 2:42 AM
Subject: RE: [amibroker] AmiBroker 4.72.0 BETA released

try 5000 - pixels are small
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Yuki Taga
Sent: Friday, September 09, 2005 8:41 PM
To: Tomasz Janeczko
Subject: Re: [amibroker] AmiBroker 4.72.0 BETA released

Hi Tomasz,

Saturday, September 10, 2005, 8:55:28 AM, you wrote:

TJ> Yuki,

TJ> The only negative width that is accepted is -1.
TJ> width = -1 (the default) means "old" behaviour, i.e. column width is determined
TJ> automatically from the length of text in column caption.

TJ> any width >= 0 is just PIXEL width of the column. So 100 is just 100 pixels on your screen.

I'm stumped.  The following line should produce different widths with
different values entered:

AddColumn(pchng, "Pct. Chg.", format = 0.000,width = 160);

I've tried everything from 50 to 500 and a lot in between.  The
column width never varies.  I have 1024 horizontal pixels, and I'm
used to setting column width by pixel in Excel.  But for some reason,
this is stumping me.

Yuki



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS