Groups > Borland > Delphi winforms controls > Re: ancestor of ComboBox and ListBox?




ancestor of ComboBox and ListBox?

ancestor of ComboBox and ListBox?
Wed, 13 Sep 2006 08:45:35 +020
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.)

TIA.

Post Reply
Re: ancestor of ComboBox and ListBox?
Wed, 13 Sep 2006 22:26:22 -040
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.

There are also many tools around which interpret the meta data in the 
assemblies including the ancestors. A good one is Reflector written by 
Lutz Roeder

-- 
Marc Rohloff [TeamB]
Post Reply
Re: ancestor of ComboBox and ListBox?
Thu, 14 Sep 2006 10:46:30 +020
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?
Post Reply
Re: ancestor of ComboBox and ListBox?
Thu, 14 Sep 2006 15:09:44 -040
On Thu, 14 Sep 2006 10:46:30 +0200, Brigitte Spatz wrote:

> Not on my computer :-( The entry for Combobox reads:
> "Platform SDK: SDK Tools
> COMBOBOX Control

On my help I go to 'ComboBox class' in the index and then 'About'.
Right at the top is the hierarchy.

-- 
Marc Rohloff [TeamB]
Post Reply
Re: ancestor of ComboBox and ListBox?
Fri, 15 Sep 2006 11:07:36 +020
Marc Rohloff [TeamB] wrote:
> On Thu, 14 Sep 2006 10:46:30 +0200, Brigitte Spatz wrote:
> 
>> Not on my computer :-( The entry for Combobox reads:
>> "Platform SDK: SDK Tools
>> COMBOBOX Control
> 
> On my help I go to 'ComboBox class' in the index and then 'About'.
> Right at the top is the hierarchy.
> 
I have no entry for Combobox class. Nor for any other class, so the help 
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact