Putting Text into Grid - dbase.nx [01/01] 
Author Message
 Putting Text into Grid - dbase.nx [01/01]

neville:

the problem exists because you're using the .additem method to populate
your grid as opposed to the set-coordinate-assign-value approach.

as per the vb help on grid.additem, the tab char (chr(09)) is used to
delimited the fields for each row.

hence, if want to start at column 1 as opposed to 0, you additem should
look like:

    grd.additem chr(9) & "cell 1/1" & chr(9) & "cell 1/2" & ...

good luck.

-paul-



Sat, 14 Mar 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Dumping Text into grid - dbase.nx [01/01]

2. Importing a text file - Smallctx.txt [01/01]

3. Convert gifs to bload format - gif2bsv.exe [01/01]

4. VB OLE to MS Word - code.txt [01/01]

5. Heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelp - vb.txt [01/01]

6. VB OLE MS Word - code.txt [01/01]

7. Conversion vb3 > vb5 - news.txt [01/01]

8. VB5 Default Printer Switch Issue - SetdefaultprinterinVB5issue.txt [01/01]

9. Coolbar Code example - coolbar.zip [01/01]

10. Tabs in VB 3.0? - tabbed.zip [01/01]

11. HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!! - vb.txt [01/01]

12. Read this pleeeeease (DLL problems) - vb.txt [01/01]

 

 
Powered by phpBB® Forum Software