Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Outline a cell in MSFlexGrid
Old
  (#1)
mefloyd
Guest
 
Posts: n/a
Default Outline a cell in MSFlexGrid - 06-04-2007, 08:55 AM

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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Outline a cell in MSFlexGrid
Old
  (#2)
Martin Double
Guest
 
Posts: n/a
Default Re: Outline a cell in MSFlexGrid - 06-04-2007, 08:55 AM

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: EMAIL REMOVED
Web: http://home.btconnect.com/cadoss


..
"mefloyd" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED...
> 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



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Outline a cell in MSFlexGrid
Old
  (#3)
mefloyd
Guest
 
Posts: n/a
Default Re: Outline a cell in MSFlexGrid - 06-04-2007, 08:56 AM

Thanks, but I only want to have the outline coloured.

dOn Wed, 10 Dec 2003 09:18:40 +0000 (UTC), "Martin Double"
<EMAIL REMOVED> 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.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Outline a cell in MSFlexGrid
Old
  (#4)
dw85745
Guest
 
Posts: n/a
Default Re: Outline a cell in MSFlexGrid - 06-04-2007, 08:59 AM

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" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED...
> Thanks, but I only want to have the outline coloured.
>
> dOn Wed, 10 Dec 2003 09:18:40 +0000 (UTC), "Martin Double"
> <EMAIL REMOVED> 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.

>



   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top