Questions on the Grid

Using (or providing) components based on the "Win32" framework

Questions on the Grid

Postby paulmansour on Mon Mar 13, 2017 5:07 am

Ok, its been a while since I have done serious grid work.

I'm looking at doing a "presentation grid" - everything is read-only, so no worrying about the details of editing, pasting etc.

Two questions arise:

1. Any way to get rid of the grid lines between the column titles? Easy to do for the main part of the grid, but I can't see how to do it for the titles.

2. How about horizontal cell padding? Obviously I can make the columns wider, but a right justified column will still bump up uncomfortably close to a left justified column. Short of tacking on some blanks to front or back of the cell content, any solution?

Thanks for any tips.

Paul
paulmansour
 
Posts: 210
Joined: Fri Oct 03, 2008 4:14 pm

Re: Questions on the Grid

Postby Vince|Dyalog on Mon Mar 13, 2017 3:06 pm

Hi Paul,

1) Sorry, we do not have a setting to remove the dividing lines in the column title headers.

2) For this, our only suggestion is that you use a FormatString on the cells.

Hope this helps!

Regards,

Vince
Vince|Dyalog
 
Posts: 234
Joined: Wed Oct 01, 2008 9:39 am

Re: Questions on the Grid

Postby paulmansour on Mon Mar 13, 2017 3:39 pm

Thanks Vince.

No problem, that's kind of what I thought.
paulmansour
 
Posts: 210
Joined: Fri Oct 03, 2008 4:14 pm

Re: Questions on the Grid

Postby paulmansour on Mon Mar 27, 2017 2:55 pm

Two more questions:

1. Any way to get the upper left hand corner of the grid to change color - want it to match my row title and column title background color.

2. When using a label to provide some feedback to the user so he can tell the current cell, you can click on the current cell after it has the focus and you get in the in-cell editing mode and the contents of the cell are shown without formatting. I understand why this happens for an associated edit (you edit the value, not the display of it), but is there any reason it should happen to a label, which by definition is read-only? Is there a way prevent this behavior?

Paul
paulmansour
 
Posts: 210
Joined: Fri Oct 03, 2008 4:14 pm


Return to Windows: GUI, COM/OLE/ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest