resize Columnwidths Listbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

CAn anyone help me?

I created a listbox with 4 columns. I changed the width of the first column
with the properties of the listbox.

but.. the question is; How can I change the width of columns number 2, 3 and
4?

thnks in advance..
 
Set it in the Initialize or Activate event procedure

Me.ListBox1.ColumnWidths = "15;25;15;25"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Bob,

thnx!! works great!!

Is there also a possibility to textalign the first colum to the left and the
other columns to the right?

Best regards,

Arjan


--
Arjan Bregman
the Netherlands


Bob Phillips said:
Set it in the Initialize or Activate event procedure

Me.ListBox1.ColumnWidths = "15;25;15;25"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
I don't think so. You might be able to kludge it a bit, padding the data,
but nothing precise.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

Arjan said:
Bob,

thnx!! works great!!

Is there also a possibility to textalign the first colum to the left and the
other columns to the right?

Best regards,

Arjan
 

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