Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Did you do it, BORL? Object TreeView hiding non-visual components

0 views
Skip to first unread message

Damian Marquez

unread,
Jun 24, 2001, 6:08:15 PM6/24/01
to
I know I'm very insisting but ...

Since it seems it's gonna be a couple of days <g> until I get my D6 Pro, I
would like to know from the already-users
if my long-time wish to have non-visual components removed from the working
form is now a reality with the Object
Treeview.

IOW, I want to know if I can keep the datasets, datasources, dialogs, etc,
only "visible" in the treeview, and not cluttering
the form where they're declared (obviously not talking datamodules here).

If it's not possible, it shouldn't be too hard to implement..... If so,
please write it down as my top D7 wish.


Jeff Overcash (TeamB)

unread,
Jun 24, 2001, 6:48:47 PM6/24/01
to

Damian Marquez wrote:
>
> I know I'm very insisting but ...
>
> Since it seems it's gonna be a couple of days <g> until I get my D6 Pro, I
> would like to know from the already-users
> if my long-time wish to have non-visual components removed from the working
> form is now a reality with the Object
> Treeview.
>

No, non-visual components are still visible on the form.

--
Jeff Overcash (TeamB) I don't think there are any Russians
(Please do not email And there ain't no Yanks
me directly unless Just corporate criminals
asked. Thank You) Playing with tanks. (Michael Been)

Dave Nottage

unread,
Jun 24, 2001, 7:59:20 PM6/24/01
to
"Jeff Overcash (TeamB)" wrote:
> No, non-visual components are still visible on the form.

Presumably, you'd need to hack into the form designer, and make it paint
only controls that descend from TControl?

--
Dave Nottage


Martin Kammann

unread,
Jun 24, 2001, 8:40:43 PM6/24/01
to
> Presumably, you'd need to hack into the form designer, and make it paint
> only controls that descend from TControl?

Or you could have a unit that calls RegisterNoIcon for all components that
you know of.


Dave Nottage

unread,
Jun 24, 2001, 8:55:14 PM6/24/01
to

RegisterNoIcon makes the component not appear on the component palette.

Calling RegisterNoIcon for components that are already registered to appear
on the palette would/should have no effect.

Follow-up set to borland.public.delphi.ide

--
Dave Nottage


Damian Marquez

unread,
Jun 24, 2001, 11:57:11 PM6/24/01
to
"Dave Nottage" <da...@deletethis.b3.com.au> wrote in message
news:3b367f3a_2@dnews...

I see, via the OTA.... I hope somebody does the job, else I will try when I
get D6...:)


Dave Nottage

unread,
Jun 25, 2001, 12:19:38 AM6/25/01
to
"Damian Marquez" wrote:
> > Presumably, you'd need to hack into the form designer, and make it paint
> > only controls that descend from TControl?
>
> I see, via the OTA....

By "hack" I meant hack. OTA is intended for extending the IDE. I dont think
there'd be a way of doing what I said via OTA.

> I hope somebody does the job, else I will try when I get D6...:)

I'll have a (very) brief look, but post the findings (if any) to .ide

--
Dave Nottage

Steve Forbes

unread,
Jun 25, 2001, 1:46:07 AM6/25/01
to
Hi Damian,

I have not yet upgraded to D6, so this may not be relevant (depends on the
amount of change required for D6 experts), but am using an free expert in D5
written by PuterSoft.Com Inc (correct spelling .. they originally wrote the
FilterBox component sold by DreamCompany) which does what you want on a form
by form basis.

Their web site is pretty bare, so I am not sure of their status. Give them a
try first (at http://www.puterSoft.Com), and if you have no luck I can send
you what I have got.

HTH

Regards,

Steve

"Damian Marquez" <dmarq...@hotmail.com> wrote in message
news:3b366529_2@dnews...

Richard

unread,
Jun 25, 2001, 3:03:01 AM6/25/01
to
FYI, LMDTools has a component that does this...


--


-------------------------------------------------
"The differences between theory and practice are
greater in practice than they are in theory."


damian marquez

unread,
Jun 25, 2001, 9:58:33 AM6/25/01
to

Richard <rgrossman-De...@techIII.com> wrote:
>FYI, LMDTools has a component that does this...

Does it??? In what version? I'm not sure if I saw this before in LMD...

damian marquez

unread,
Jun 25, 2001, 9:56:30 AM6/25/01
to

"Dave Nottage" <da...@deletethis.b3.com.au> wrote:
>By "hack" I meant hack. OTA is intended for extending the IDE. I dont think
>there'd be a way of doing what I said via OTA.
I assumed that if Borland added new functionality to the IDE there would be an interface to it via OTA, but I see your point, "extending" is different from "modifying"

>I'll have a (very) brief look, but post the findings (if any) >to .ide

You're right. This belongs there.


Kevin

unread,
Jun 25, 2001, 10:14:09 AM6/25/01
to
What reason is there to put non-visual components on the form? I always use
a data module and then refer to them there rather. BTW, the Object View
does make it a lot easier to manage if you have taken the approach you talk
about, but it doesn't hide non-visual components on the form.

It probably would be good to have an option to display non-visual components
or not - there are actually OTA wizards that do this. I downloaded one the
other day at home. I'll have a look for it when I get home and post it to
the newsgroups - if someone else hasn't already done this.

"Damian Marquez" <dmarq...@hotmail.com> wrote in message
news:3b366529_2@dnews...

[...snip...]


> if my long-time wish to have non-visual components removed from the
working
> form is now a reality with the Object
> Treeview.

[...snip...]


Richard

unread,
Jun 25, 2001, 3:55:01 PM6/25/01
to
LMD version 4.52

TLMDHideNonVC:

Ancestor
TLMDComponent

Unit
lmdnonva

Description
This small but useful component allows you to hide non visual components on
your form at designtime (the component has no function at runtime).

There's one property: UsetagInfo. If set True the Tag-Property will be used
for saving the component's position, otherwise a component will be placed
at 0,0 if you redisplay it. You should not deactive this option unless
there's an important reason.

Showing or hiding of components is to be done by a design window: Simply
doubleclick on the TLMDHideNonVC component and hide or show single or all
nonvisual components on the form by selecting components from the listbox.
To get access to the properties of a hidden component simply click on the
entry in the list of components. Click right mousebutton for accessing the
contextmenu of the component if available.

The component doesn't do anything at runtime and it can be removed or added
to a form at any time.

2 VERY IMPORTANT NOTES!

There are two cases where the component will fail to work:

· Don't change the creation order of the non visual components. If you have
to do so please close the form and reload it again, otherwise unexpected
results may follow.
· The component will not work if display of component titles in Delphi32 is
enabled.

LMD-Tools Help File (C) LMD Innovative


damian marquez wrote:

--

Damian Marquez

unread,
Jun 25, 2001, 5:25:04 PM6/25/01
to
"Richard" <rgrossman-De...@techIII.com> wrote in message
news:3B379715...@techIII.com...
> LMD version 4.52
>
> TLMDHideNonVC:

It's in the free version or in the commercial one?


Damian Marquez

unread,
Jun 25, 2001, 5:26:04 PM6/25/01
to

> It probably would be good to have an option to display non-visual
components
> or not - there are actually OTA wizards that do this. I downloaded one
the
> other day at home.

Good.... Please indicate the link..


Kevin Berry

unread,
Jun 25, 2001, 9:24:23 PM6/25/01
to
http://delphi.icm.edu.pl/ftp/d30free/pschidee.zip

It has the full source code too.

Seems that puterSoft has been "bought" by Dream-Company (www.puterSoft.com).

"Damian Marquez" <dmarq...@hotmail.com> wrote in message

news:3b37accb_2@dnews...

Richard

unread,
Jun 25, 2001, 11:43:10 PM6/25/01
to
I have the commercial - don't know if it's in the free...

David McCallum

unread,
Jun 26, 2001, 4:05:47 AM6/26/01
to
It's in the free version. I sometimes causes errors tho..

Richard <rgrossman-De...@techIII.com> wrote in message

news:3B3804CE...@techIII.com...

Kevin Berry

unread,
Jun 26, 2001, 9:17:06 AM6/26/01
to
That's why this is a better alternative:

http://delphi.icm.edu.pl/ftp/d30free/pschidee.zip

"David McCallum" <dm...@actual-systems.com> wrote in message
news:3b3842c0$1_1@dnews...

Damian Marquez

unread,
Jun 26, 2001, 7:21:02 PM6/26/01
to

"Damian Marquez" <dmarq...@hotmail.com> wrote in message
news:3b3918d1_2@dnews...

> BTW, they have taken some dream company stuff!!! (not outbar.... too bad)

Ooops, read too fast, they *sold* some components to dream co. in the
past....


Damian Marquez

unread,
Jun 26, 2001, 7:22:00 PM6/26/01
to

"Kevin Berry" <kevi...@telocity.com> wrote in message
news:3b388b55_2@dnews...

> That's why this is a better alternative:
>
> http://delphi.icm.edu.pl/ftp/d30free/pschidee.zip

Thanks for the link!


Damian Marquez

unread,
Jun 26, 2001, 7:19:12 PM6/26/01
to

"Steve Forbes" <ste...@flagship.com.au> wrote in message
news:3b36ce43_1@dnews...

> Hi Damian,
>
> I have not yet upgraded to D6, so this may not be relevant (depends on the
> amount of change required for D6 experts), but am using an free expert in
D5
> written by PuterSoft.Com Inc (correct spelling .. they originally wrote
the
> FilterBox component sold by DreamCompany) which does what you want on a
form
> by form basis.
> Their web site is pretty bare, so I am not sure of their status. Give them
a
> try first (at http://www.puterSoft.Com), and if you have no luck I can
send
> you what I have got.

Could you please send it to me? (dmarq...@hotmail.com) The site is bare as
you say.... Thank you!

Damian Marquez

unread,
Jun 26, 2001, 9:56:42 PM6/26/01
to

"Kevin Berry" <kevi...@telocity.com> wrote in message
news:3b37e4bf$1_1@dnews...
> http://delphi.icm.edu.pl/ftp/d30free/pschidee.zip
Great, I've checked and it would work allright with D6 Object TreeView (I
think!). I could hide
the components with this expert, and then handle it all through the
treeview.
In D5 it would not be so nice, I should change properties via the Object
inspector combo....
Now I DO need D6 :)

> Seems that puterSoft has been "bought" by Dream-Company
(www.puterSoft.com).

Too bad, given the current Dream Co. situation.....


0 new messages