🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.components.using
Article #2

Re: Help! How can I multi line select in TOutline D1

#2
From: Brian Lowe
Date: Thu, 17 Jul 1997 00:00
29 lines
1949 bytes
A couple of years ago I spent a lot of time trying to use the
Delphi 1 TOutline for multi-select with drag and drop of outline
items. The result was that I abandoned the effort. This component
is slow and troublesome. It has at least one known bug (I can
send you info on the bug if you wish). Sorry to be so discouraging.

If you don't need to collapse nodes (and if you're looking at
TOutline you probably DO...) I suggest using a TListbox
descendent which accepts tabs to indent items as in TOutline.
I have code from David Baldwin which does this if you want it.
Then you can set MultiSelect and ExtendedSelect as you wish.

To take this idea a little further, to allow nodes to collapse
you could perhaps make the items OwnerDraw and use the
Items.Object property to hold information about whether the
node is hidden so as not to draw it when its parent is "collapsed."

Good luck,

Brian Lowe
Beond Technology Corp.

dsease@freeside.scsd.k12.ny.us wrote:
> 
> I realy need to select more then one item in my Outline.
> if anyone can put me on the right track TIA.
> 
> darin
Technical Details
Message-ID: <33CE3C4E.3C80@mcs.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <33cda801.52793195@news.zippo.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,21a46d0758bdcf77
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 112b07,21a46d0758bdcf77
X-Google-Attributes: gid112b07,public
X-Google-Thread: fe2ce,21a46d0758bdcf77
X-Google-Attributes: gidfe2ce,public
X-Google-Thread: 10a7d7,21a46d0758bdcf77
X-Google-Attributes: gid10a7d7,public
From: Brian Lowe <brianlow@mcs.com>
Subject: Re: Help! How can I multi line select in TOutline D1
Date: 1997/07/17
Message-ID: <33CE3C4E.3C80@mcs.com>
X-Deja-AN: 257438741
References: <33cda801.52793195@news.zippo.com>
Organization: Beond Technology Corp.
Reply-To: brianlow@mcs.com
Newsgroups: comp.lang.pascal.delphi.components.using,comp.lang.pascal.delphi.components.writing,borland.public.delphi.vcl.components.using,borland.public.delphi.vcl.components.writing