Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What font did you use for the Label1 control? From the screen capture, I can see that you are not using a fixed-width font. </p> <p>If you change the font to fixed-width font family (eg: Courier New) you will get a perfectly aligned table with the code <code>Label1.Text &amp;= Space(8 * (i - 1))</code>, while with <code>...) + i)</code> code will give you a table with unaligned columns.</p> <p>The reason for this is, fixed-width fonts have the same width for every characters in the set, at any font size. This include the space (Chr(32)) too. While non fixed-width fonts, each character have different width. Eg: the letter <strong>W</strong> is wider than <strong>i</strong>. And spaces will have different width too.</p> <p>For example:</p> <p>Fixed-width font:</p> <pre><code>1x1=1...1x2=2 ........2x2=4 </code></pre> <p>Non fixed-width font:</p> <p>1x1=1...1x2=2<br> ........2x2=4</p> <p>You can see above, in both 'table' above, I put 7 dots to push the second row to align to the second column of the first row. And in the table using non fixed-width font, the <code>2x2=4</code> appears to the left to where it should be.</p> <p>That means, since the space is narrower, you need to append more spaces to make it aligned like below:</p> <p>1x1=1...1x2=2<br> .............2x2=4</p> <p>In the sample table above, I have to put in <strong>13</strong> dots to make it appear aligned (or close enough). Since this page is using some other font to display this table.</p> <p>In your case, you are just lucky enough that the font you are using can be aligned perfectly by simply adding <code>i</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload