Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How come In VB5 the Datagrid....

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
Had the ability to Right click and get the fields and make changes to the columns and the MSFlexGrid does not have it. Nor does the Datagrid.<br>How do you change the column sizes so each is set for the field size (some narrow some wide) and remembered or do I have to write code.<br><br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Doug,<br><br>Don't you have the mousedown event in msflexgrid? That's how I detect right clicks.<br><br>Mike<br> <p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
To resize the columnwidth in an MSFlexGrid you use:<br><br><i>GridName</i>.ColWidth(<i>ColumnIndex</i>) = <i>Size</i> <p>Colin Chevrier<br><a href=mailto:colin.chevrier@ca.jdsunph.com>colin.chevrier@ca.jdsunph.com</a><br><a href= > </a><br>
 
When in DESIGN VIEW you used to be able to right click on the GRID and a gray box would pop up and allow you to get the Field NAMEs from the Recordsource you were currently conneted to.<br>IN DESIGN VIEW <br>Not while running.<br>For Now I'm sticking with VB5.<br>Also there was an EDIT option too in that Gray box. Which allowed you to size the columns after you clicked the GET field names.<br><br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top