Article View: borland.public.delphi.winforms.controls.using
Article #7Re: ancestor of ComboBox and ListBox?
From: Brigitte Spatz
Date: Thu, 14 Sep 2006 08:46
Date: Thu, 14 Sep 2006 08:46
51 lines
3228 bytes
3228 bytes
Marc Rohloff [TeamB] wrote: > On Wed, 13 Sep 2006 08:45:35 +0200, Brigitte Spatz wrote: > >> Since the help doesn't display the hierarchy any more, can anybody >> please tell me what the ancestor of System.Windows.Forms.ComboBox and >> System.Windows.Forms.ListBox is? (And in case there was a similar chart >> inside the box of BDS2005 as it was with D7, I don't have it, it's with >> my boss in another part of the country.) > > The help does display the ancestor's though. Not on my computer :-( The entry for Combobox reads: "Platform SDK: SDK Tools COMBOBOX Control The COMBOBOX resource-definition statement creates a combination box control (a combo box). A combo box consists of either a static text box or an edit box combined with a list box. The list box can be displayed at all times or pulled down by the user. If the combo box contains a static text box, the text box always displays the selection (if any) in the list box portion of the combo box. If it uses an edit box, the user can type in the desired selection; the list box highlights the first item (if any) that matches what the user has entered in the edit box. The user can then select the item highlighted in the list box to complete the choice. In addition, the combo box can be owner-drawn and of fixed or variable height. COMBOBOX id, x, y, width, height [, style [, extended-style]] style Control styles. This value can be a combination of the COMBOBOX class styles and any of the following styles: WS_TABSTOP, WS_GROUP, WS_VSCROLL, and WS_DISABLED. If you do not specify a style, the default style is CBS_SIMPLE | WS_TABSTOP. For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters. Example This example creates a combo-box control with a vertical scroll bar: COMBOBOX 777, 10, 10, 50, 54, CBS_SIMPLE | WS_VSCROLL | WS_TABSTOP Platform SDK Release: February 2003 What did you think of this topic? Order a Platform SDK CD "
Technical Details
Message-ID:
<450916ed$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4507a915@newsgroups.borland.com> <1sr5t4k7zxlw0$.dlg@dlg.marcrohloff.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,1888a8d10ba1f328 X-Google-Attributes: gid1eff29,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 14 Sep 2006 10:46:30 +0200 From: Brigitte Spatz <brigitteNOSPAM.spatz@svenmahn.de> Organization: Sven Mahn IT-Systementwicklungen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: borland.public.delphi.winforms.controls.using Subject: Re: ancestor of ComboBox and ListBox? References: <4507a915@newsgroups.borland.com> <1sr5t4k7zxlw0$.dlg@dlg.marcrohloff.com> In-Reply-To: <1sr5t4k7zxlw0$.dlg@dlg.marcrohloff.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0637-1, 13/09/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 217.189.148.37 Message-ID: <450916ed$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158223597 217.189.148.37 (14 Sep 2006 01:46:37 -0700) Lines: 51 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail