🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.winforms.controls.using
6 messages
6 total messages Started by Brigitte Spatz Wed, 13 Sep 2006 06:45
ancestor of ComboBox and ListBox?
#5
Author: Brigitte Spatz
Date: Wed, 13 Sep 2006 06:45
9 lines
1329 bytes
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.

Brigitte
Re: ancestor of ComboBox and ListBox?
#6
Author: Marc Rohloff TeamB
Date: Thu, 14 Sep 2006 02:26
17 lines
1776 bytes
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]
marc rohloff -at- myrealbox -dot- com
Re: ancestor of ComboBox and ListBox?
#7
Author: Brigitte Spatz
Date: Thu, 14 Sep 2006 08:46
51 lines
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 "
Re: ancestor of ComboBox and ListBox?
#8
Author: Marc Rohloff TeamB
Date: Thu, 14 Sep 2006 19:09
12 lines
1556 bytes
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]
marc rohloff -at- myrealbox -dot- com
Re: ancestor of ComboBox and ListBox?
#9
Author: Brigitte Spatz
Date: Fri, 15 Sep 2006 09:07
12 lines
1619 bytes
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 
  is pretty useless to me most of the time.
Re: ancestor of ComboBox and ListBox?
#10
Author: Marc Rohloff TeamB
Date: Fri, 15 Sep 2006 20:24
22 lines
2135 bytes
On Fri, 15 Sep 2006 11:07:36 +0200, Brigitte Spatz wrote:

> I have no entry for Combobox class. Nor for any other class, so the help 
>   is pretty useless to me most of the time.

This doesn't sound right, if you are up to it you might want to try
and reinstall. You will have to install the .NET SDK and the BDS.

Otherwise you can search online at http://msdn.microsoft.com for the
standard framework. For example:
http://tinyurl.com/o3opr
or
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpqstart/html/cpsmpNETSamples-WindowsFormsControlReference.asp

The .NET docs starts here:
http://tinyurl.com/qgkzn
or
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpqstart/html/cpsmpNETSamples-WindowsFormsControlReference.asp

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads