BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Grid with dropdown button

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Mark Mussetter
Guest





PostPosted: Tue Mar 29, 2005 12:01 am    Post subject: Grid with dropdown button Reply with quote



Hello Everyone,

Is there a component similar to TStringGrid that would allow you to make
a cell a dropdown button (ComboBox)?

Can TStringGrid already do this?

Mark
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Mar 29, 2005 12:28 am    Post subject: Re: Grid with dropdown button Reply with quote




"Mark Mussetter" <mark (AT) link-comm (DOT) com> wrote


Quote:
Is there a component similar to TStringGrid that would allow
you to make a cell a dropdown button (ComboBox)?

Which version of BCB are you using? If BCB6, then perhaps TValueListEditor
is what you are looking for?

Quote:
Can TStringGrid already do this?

Not by itself, no. You would have to derive a new component from
TStringGrid and override the CreateEditor() method to return a suitable
TInplaceEdit class instance. If you are using BCB6, there is a
TInplaceEditList class available. Otherwise, you will have to write your
own editor class from scratch.


Gambit




Back to top
Mark Mussetter
Guest





PostPosted: Tue Mar 29, 2005 3:37 pm    Post subject: Re: Grid with dropdown button Reply with quote



Thanks Gambit. I am using BCB6, so I'll check out the suggestions you made.

Mark

Remy Lebeau (TeamB) wrote:

Quote:
"Mark Mussetter" <mark (AT) link-comm (DOT) com> wrote in message
news:42489ad1$1 (AT) newsgroups (DOT) borland.com...


Is there a component similar to TStringGrid that would allow
you to make a cell a dropdown button (ComboBox)?


Which version of BCB are you using? If BCB6, then perhaps TValueListEditor
is what you are looking for?


Can TStringGrid already do this?


Not by itself, no. You would have to derive a new component from
TStringGrid and override the CreateEditor() method to return a suitable
TInplaceEdit class instance. If you are using BCB6, there is a
TInplaceEditList class available. Otherwise, you will have to write your
own editor class from scratch.


Gambit




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.