|
Answer» Sir, I have made a VB-6 application in which it dispalys data of my class students in Msflexigrid. In its DESIGNING, I have defined column WIDTH as PER my requirement such as less width for Roll No but more wide for Name field. My problem is that MsFlexigrid does not allow mouse scrolling like in excel sheet to move up or down through mouse. It does not allow on screen editing too. When I made same application in DBGrid enabling on screen edit/modify facility but this does not allow me to fix column width as per my requirement as it is possible in MSFlexigrid. Please help me in 1. Mouse scroll facility in either in DBGrid or MS flexigrid 2. If it is DBGrid, how can I fix Column width.
Lohani
Neither- I recommend using SGrid
http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid/article.asp
or EVEN better:
http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/S_Grid_2/article.asp
OR- instead of using DBGrid use the Microsoft DataGrid Control, if possible. (this requires Visual Basic Professional or Enterprise, though)
|