If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > datagrid column sizing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-03-03, 03:34
Dr Jeep Dr Jeep is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Exclamation datagrid column sizing

I am trying to size the columns of a datagrid in VB6. I have placed a datagrid on a form and use

set r=new ador.recordset 'create disconected recordset

and

r.fields.append "col name", adVarChar, 500

to append columns.

There are currently 16 columns i use and no matter how i try i cannot get the columns to the size i want, each column needs to be a width that i specify. All columns seem to be of a size that i cannot determin the source of, its not the defCol widths or any value i can see any where else.


Any suggestions would be very much appreciated.

Last edited by Dr Jeep; 11-05-03 at 08:37.
Reply With Quote
  #2 (permalink)  
Old 11-05-03, 08:38
Dr Jeep Dr Jeep is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
I have solved the above problem with help from another forum member.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On