473,327 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Outline a cell in MSFlexGrid

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
3 3491
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Martin K | last post by:
Hello all..thanks for everyone's advice regarding my SHBrowseForFolder API problem, I was able to put together a public class that runs great! But I have another migration headache regarding the...
1
by: zoneal | last post by:
Hi, I am involved in the process of migrating vb(6.0) application to vb.net. My application contains only vb controls namely MSFLEXGRID. I want to migrate my application to vb.net completely...
1
by: Steven | last post by:
I develop the application which contains MSFlexGrid to display data. When I try to fill the grid with the text data, I want to adjust the column width so that the width is adjusted to the maximum...
0
by: Thanu | last post by:
Hi, I want to import the background color of cells from excelsheet to Mshflexgrid in Vb6. I already have the code to import the contents from excel to mshflexgrid but i want to import the color...
5
by: Ishmael | last post by:
Hi Is Been a 3 Yrs Now (I Still trying to do this) Please help me to do this with Visual Basic 6.0 using Msflexgrid Let say you are the Principal . You have 10 educators and 5 class (Grades)...
3
by: GROG | last post by:
Hi all.. I would like to ask.. how can i pick a cell in a flexgrid and put a color on it.. not the whole row.. a cell in a row... If putting text..we use textmatrix... what about color...? ...
1
by: MiziaQ | last post by:
Hey, how can I change the background color of a cell in MSFlexGrid ? Thanks in advance, MiziaQ
2
by: MiziaQ | last post by:
Hey, how can I allow the user to edit ANY cell from any row and column in an msflexgrid ? I found the following code, but it only allows input for the first column. Thank you in advance. Private...
0
nirmalsingh
by: nirmalsingh | last post by:
hai all, what is the maximum no of characters can be placed in msflexgrid cell? is there any constraint? thanx in advance with love Nirmal
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.