Tables...

  • Thread starter Thread starter Gary L. Olivieri
  • Start date Start date
G

Gary L. Olivieri

Is there a way to set the size of a cell in a table and actually get it to
be the size you set it to?

I am coding this:

BuildCell.Height.Pixel(36)
BuildCell.Width.Pixel(72)
BuildCell.Text = **a Variable Length String that will fit in to the space
provided **


When that ultimately gets put in to the table it seems to forget that I
specified a size and just fits it in there.

Am I missing something? Or would it just be simpler to use a transparent
graphic as a placeholder?


Thanks in Advance,

Gary
 
Gary L. Olivieri said:
Is there a way to set the size of a cell in a table and actually get it to
be the size you set it to?

I am coding this:

BuildCell.Height.Pixel(36)
BuildCell.Width.Pixel(72)
BuildCell.Text = **a Variable Length String that will fit in to the space
provided **


When that ultimately gets put in to the table it seems to forget that I
specified a size and just fits it in there.

Am I missing something? Or would it just be simpler to use a transparent
graphic as a placeholder?


Thanks in Advance,

Gary

BuildCell.Height.Pixel(36) returns a Unit instance, it does not set the cell
height...

try:
BuildCell.Height = Unit.Pixel(36)

HTH,
Mythran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top