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

Try the following

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

--
   Cheers,
   Peter

    TI PowerBook G4, 1GHz, 1GB RAM, OSX 10.3.9, RB2006r4 Pro
_______________________________________________
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