Article View: borland.public.cppbuilder.nativeapi
Article #13154Re: Controls into a Grid
From: McKool
Date: Wed, 29 Oct 2003 11:45
Date: Wed, 29 Oct 2003 11:45
27 lines
2017 bytes
2017 bytes
thank you! that is what I was looking for. I will investigate it. Thanks again. "Eelke Klein" <e.klein@mplussoftware.nl> schrieb im Newsbeitrag news:3f9f94ff@newsgroups.borland.com... > McKool wrote: > > Hello, iļæ½m trying to find the way to put a combobox or checkbox into a cell > > in a grid. The idea is edit the data of the cell using predefined values in > > a combobox or, when is a boolean value, with a checkbox. I make something > > with a Drawgrid, painting the combo box in the cell i want, using the > > DrawCell event. The problem is the grid star to repaint and repaint > > infinite and all what i can see is the blinking of the combobox. > > To edit a cell the grid uses a special object called the InplaceEditor. > Normally this is just an editbox located on top of the cell. This object > is however created by the function CreateEditor which can be overwritten. > > Probably you could make a special combobox which is placed on top of the > cell. > > > > Eelke >
Technical Details
Message-ID:
<3f9fa7a7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f9f6f26@newsgroups.borland.com> <3f9f94ff@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,d89c278f84ba5ec5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-29 03:52:55 PST From: "McKool" <kenethw@peak-system.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f9f6f26@newsgroups.borland.com> <3f9f94ff@newsgroups.borland.com> Subject: Re: Controls into a Grid Date: Wed, 29 Oct 2003 12:45:40 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.157.26.201 Message-ID: <3f9fa7a7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067427751 213.157.26.201 (29 Oct 2003 03:42:31 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail