Article View: borland.public.cppbuilder.nativeapi
Article #13151Re: Controls into a Grid
From: Eelke Klein
Date: Wed, 29 Oct 2003 10:23
Date: Wed, 29 Oct 2003 10:23
18 lines
1788 bytes
1788 bytes
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:
<3f9f94ff@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f9f6f26@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 02:39:17 PST Date: Wed, 29 Oct 2003 11:23:40 +0100 From: Eelke Klein <e.klein@mplussoftware.nl> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Controls into a Grid References: <3f9f6f26@newsgroups.borland.com> In-Reply-To: <3f9f6f26@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 81.58.1.162 Message-ID: <3f9f94ff@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067422975 81.58.1.162 (29 Oct 2003 02:22:55 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail