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

Re: [amibroker] Column Width Control



PureBytes Links

Trading Reference Links




Sorry Ken, I dont think I have ever noticed 
that...I would be interested to know if you discover the reason...
 
Steve
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Ken Close 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, September 09, 2003 8:38 
  PM
  Subject: RE: [amibroker] Column Width 
  Control
  
  
  <SPAN 
  >Steve: thanks for the 
  reply, which addresses one of my questions.
  <SPAN 
  > 
  <SPAN 
  >However, I already 
  was using a small abbreviation for the header and when first started all of 
  the columns are the same narrow width.  As I change things in the 
  formulas (but NOT in the AddColumn lines), and then run the Explore again and 
  again, the columns unexpectedly get WIDER.
  <SPAN 
  > 
  <SPAN 
  >Why do they 
  arbitrarily get wider and what can I do to prevent them from changing in 
  width---esp when I have not done anything to cause them to 
  change?
  <SPAN 
  > 
  <SPAN 
  >Any help on this 
  aspect?  Ever experienced it?
  <SPAN 
  > 
  <SPAN 
  >Ken
  <SPAN 
  > 
  <SPAN 
  >-----Original 
  Message-----From: Steve 
  Dugas [mailto:sjdugas@xxxxxxxxxxx] <SPAN 
  >Sent: Tuesday, September 09, 2003 2:11 
  PMTo: 
  amibroker@xxxxxxxxxxxxxxx<SPAN 
  >Subject: Re: [amibroker] Column Width 
  Control
  <SPAN 
  > 
  
  <SPAN 
  >Hi Ken,
  
  <SPAN 
  > 
  
  <SPAN 
  >Column width is determined by the 
  width of the header. To make it wider, you can pad the header name with 
  spaces:
  
  <SPAN 
  > 
  
  <SPAN 
  >addcolumn( array, 
  "       
          my wide 
  column         
         " );
  
  <SPAN 
  > 
  
  <SPAN 
  >To make it thinner, you must 
  abbreviate the header.
  
  <SPAN 
  > 
  
  <SPAN 
  >Sometimes, if you change the order 
  of the columns somehow, the width wont fit anymore. You can reset them by 
  cicking scan, then explore again - this will reset the width to match the 
  current column headers.
  
  <SPAN 
  > 
  
  <SPAN 
  >Addcolumn will accept a variable 
  for the name, but the variable must have a string assigned to it or you will 
  get an error message.
  
  <SPAN 
  > 
  
  <SPAN 
  >Steve 
  <BLOCKQUOTE 
  >
    
    <SPAN 
    >----- Original Message ----- 
    
    
    <FONT face=Arial 
    size=2><SPAN 
    >From:<FONT 
    face=Arial size=2> <A 
    title=closeks@xxxxxxxx href="">Ken Close 
    
    
    <SPAN 
    >To:<FONT 
    face=Arial size=2> <A 
    title=amibroker@xxxxxxxxxxxxxxx 
    href="">AmiBroker List 
    
    
    <SPAN 
    >Cc:<FONT 
    face=Arial size=2> <A 
    title=tj@xxxxxxxxxxxxx href="">'Tomasz Janeczko' 
    
    
    <SPAN 
    >Sent:<FONT 
    face=Arial size=2> 
    <SPAN 
    >Tuesday, September 09, 
    2003<SPAN 
    > <FONT face=Arial 
    size=2>10:49 
    AM
    
    <SPAN 
    >Subject:<FONT 
    face=Arial size=2> 
    [amibroker] Column Width Control
    
    <SPAN 
    > 
    <SPAN 
>All:   
    Is there any way to control the width of columns using AddColumn in Explore 
    mode.  I have experimented with the format suggested in the help file 
    of 
    <SPAN 
    >AddColumn(variable,"-13",5.0);
    <SPAN 
    >Where the 5.0 is said to "pad" 
    in 5 spaces.
    <SPAN 
    >However, nothing changes even if 
    I change 5 to 20.
    <SPAN 
    >The second observation about 
    this AA display is that the first time I run the code, the column widths are 
    narrow and seemingly the most narrow given the data they 
    hold.
    <SPAN 
    >Each time I run the code after 
    some change unrelated to the AddColumn statements, the column width grows 
    mysteriously, up to some maximum. (see below)  Needless to say, this 
    spreads out the width of the entire display.
    <SPAN 
    >May I ask if the following two 
    adjustments are possible:
    <SPAN 
    >Direct control over column 
    width.
    <SPAN 
    >Putting a variable in the column 
    HEADING (such as a date that changes) vs just text.
    <SPAN 
    >A picture of what I am trying to 
    use is shown below. Notice the various widths which occur 
    randomly.
    <SPAN 
    >Any comments?
    <SPAN 
    >Ken
    <SPAN 
    ><FONT 
    face="Courier New" size=2>Send BUG REPORTS to 
    bugs@xxxxxxxxxxxxx<SPAN 
    ><FONT 
    face="Courier New">Send SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx<FONT 
    face="Courier New">-----------------------------------------<FONT 
    face="Courier New">Post AmiQuote-related messages ONLY to: 
    amiquote@xxxxxxxxxxxxxxx (Web 
    page: <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT 
    face="Courier New">--------------------------------------------<FONT 
    face="Courier New">Check group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    <SPAN 
    >Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of 
    Service. 
  <SPAN 
  ><FONT 
  face="Courier New" size=2>Send BUG REPORTS to 
  bugs@xxxxxxxxxxxxx<SPAN 
  ><FONT 
  face="Courier New">Send SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx<FONT 
  face="Courier New">-----------------------------------------<FONT 
  face="Courier New">Post AmiQuote-related messages ONLY to: 
  amiquote@xxxxxxxxxxxxxxx (Web 
  page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)<FONT 
  face="Courier New">--------------------------------------------<FONT 
  face="Courier New">Check group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your 
  use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of 
  Service. 
  Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.