|
-
Aug 25th, 2016, 10:59 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Find all column's header name
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?
-
Aug 25th, 2016, 11:31 AM
#2
Re: Find all column's header name
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
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Aug 25th, 2016, 12:17 PM
#3
Thread Starter
Hyperactive Member
Re: Find all column's header name
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.
-
Aug 25th, 2016, 12:30 PM
#4
Re: Find all column's header name
What grid are you using? Do you assign the column headers in code, properties or is it bound to a recordset?
-
Aug 25th, 2016, 01:11 PM
#5
Thread Starter
Hyperactive Member
Re: Find all column's header name
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)
-
Aug 25th, 2016, 01:15 PM
#6
Re: Find all column's header name
@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...

Regards,
Elroy
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Aug 25th, 2016, 01:20 PM
#7
Thread Starter
Hyperactive Member
Re: Find all column's header name
-
Aug 25th, 2016, 01:26 PM
#8
Re: Find all column's header name
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
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Aug 25th, 2016, 02:27 PM
#9
Re: Find all column's header name
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
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Aug 25th, 2016, 02:42 PM
#10
Thread Starter
Hyperactive Member
Re: Find all column's header name
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.
-
Aug 25th, 2016, 02:53 PM
#11
Re: Find all column's header name
Try looking at the custom properties. Right Click the Grid Control in the Design view.
-
Aug 25th, 2016, 03:39 PM
#12
Thread Starter
Hyperactive Member
Re: Find all column's header name
 Originally Posted by DEXWERX
Try looking at the custom properties. Right Click the Grid Control in the Design view.
Yes. It works, it displays all captions.
But why in the running time the headers are different from the captions, as well as the columns order.
-
Aug 25th, 2016, 03:56 PM
#13
Re: Find all column's header name
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|