I have a grid on the form. There are many columns. I can only see some of the header names in the design view(by clicking view object of the frm). Others perhaps stack each other.
How can I find all?
Printable View
I have a grid on the form. There are many columns. I can only see some of the header names in the design view(by clicking view object of the frm). Others perhaps stack each other.
How can I find all?
Grid? Is it from the FlexGrid control?
Also, how about a screen-shot to show us what you're talking about. With what you've given us, it's near impossible to understand your problem.
Regards,
Elroy
I can't insert the image not sure why. But the image is at https://www.flickr.com/photos/678012...posted-public/.
The last column's header is "Charge". But actually there are more columns. I just can't see them.
What grid are you using? Do you assign the column headers in code, properties or is it bound to a recordset?
It is not my code so I don't know what grid is. But I think the heades are not in the code. Because I can see some of those on the designning time.(Not in running time)
@zhshqzyc,
Look in your IDE_Menu/Project/Components... to see what kind of grid it is. Or, alternatively, open the form it's on in the IDE, select the grid, open the properties window, and look at the control type...
Attachment 140501
Regards,
Elroy
SSOleDBGrid
Eeek, some of that old Sheridan Software stuff was pretty buggy. I'm not sure of all of the history, but I believe Microsoft bought them many moons ago. I do use the SSTab control, but that's about the only thing from Sheridan that I'll touch.
You're probably not up for this but it should probably be reworked with either the MSFlexGrid control or the ListView control. I don't even have the SSOleDBGrid control on my machine, so I'll bow out.
Good Luck With It,
Elroy
Just looking around, I did manage to find the manual for the Sheridan Data Widgets. It talks about their grid. And it also talks about using the SSOleDBGrid. I believe all the stuff they say about the SSDBGrid pertains to the control you're using. Maybe it'll help.
I just found it by Googling for "SSOleDBGrid".
Regards,
Elroy
The pdf manual has 400 more pages. I lost the direction. I just need a quick answer.
Actually I just run the application, there are 50 more columns. But in the designing mode, I can only see about 10 columns.
Try looking at the custom properties. Right Click the Grid Control in the Design view.
Maybe it is bound to a recordset. If so that stuff can change at run time to match what is in the recordset it is bound to