By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

Outline a cell in MSFlexGrid

P: n/a
Hello,

I'd like to outline the current cell in an MSFlexGrid control with a
certain color and line thickness. I thought of putting a shape control
on the form and positioning it over the cell, but the shape control is
always behind the grid (and therefore hidden). Does anyone have any
ideas about how to do something like this?

Also, do you know of any grid controls that allow in-cell editing?

Regards,

Michael Floyd
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Its a while since I did this, but, I think that I used a Text Box over the
grid cell (which can be coloured to indicate the current cell). The Text Box
accepts / edits text and when moved dumps its contents back to the previous
grid cell as it goes (picking up the contents of the next grid cell) etc.

--
Regards

Martin Double
CADOSS
Tel: 0208 337 0469
Email: ca****@btconnect.com
Web: http://home.btconnect.com/cadoss
..
"mefloyd" <te**@coresoftwaresolutions.com> wrote in message
news:uu********************************@4ax.com...
Hello,

I'd like to outline the current cell in an MSFlexGrid control with a
certain color and line thickness. I thought of putting a shape control
on the form and positioning it over the cell, but the shape control is
always behind the grid (and therefore hidden). Does anyone have any
ideas about how to do something like this?

Also, do you know of any grid controls that allow in-cell editing?

Regards,

Michael Floyd

Jul 17 '05 #2

P: n/a
Thanks, but I only want to have the outline coloured.

dOn Wed, 10 Dec 2003 09:18:40 +0000 (UTC), "Martin Double"
<M.******@btinternet.com> wrote:
Its a while since I did this, but, I think that I used a Text Box over the
grid cell (which can be coloured to indicate the current cell). The Text Box
accepts / edits text and when moved dumps its contents back to the previous
grid cell as it goes (picking up the contents of the next grid cell) etc.


Jul 17 '05 #3

P: n/a
Why not just make a rectangle with lines or use API rectangle, color and
width the size you want and then lay ontop of the cell.


"mefloyd" <te**@coresoftwaresolutions.com> wrote in message
news:t8********************************@4ax.com...
Thanks, but I only want to have the outline coloured.

dOn Wed, 10 Dec 2003 09:18:40 +0000 (UTC), "Martin Double"
<M.******@btinternet.com> wrote:
Its a while since I did this, but, I think that I used a Text Box over thegrid cell (which can be coloured to indicate the current cell). The Text Boxaccepts / edits text and when moved dumps its contents back to the previousgrid cell as it goes (picking up the contents of the next grid cell) etc.

Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.