Use Lisbox1.heading not header

Try this

  listbox1.ColumnCount=4
  listbox1.HasHeading = True
  listbox1.heading(0)="Name"
  listbox1.heading(1)="address"
  listbox1.heading(2)="contact no"
  listbox1.heading(3)="email"

Jim Graham

On 26 Dec 2006, at 10:08, Andhra wrote:




Some said listbox in RB is similar to MSFlexgrid in VB 6. in VB i'm using this code to make flexgrid header


msflexgrid1.textmatrix(0,0)="Name"
msflexgrid1.textmatrix(0,1)="address"
msflexgrid1.textmatrix(0,2)="contact no"
msflexgrid1.textmatrix(0,3)="email"

Anyone know how to make listbox header in RB, i'm using rb2006 r2 win XP

i tried

listbox1.header(0)="Name"
listbox1.header(1)="address"
listbox1.header(2)="contact no"
listbox1.header(3)="email"

but it not works



thx in advance

andhra
Send instant messages to your online friends http:// asia.messenger.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to