🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.vcl.components.using.general
3 messages
3 total messages Started by Tommi Prami Thu, 10 Jul 2008 07:58
DBCtrlGrid like component for "normal" Vcl components
#148
Author: Tommi Prami
Date: Thu, 10 Jul 2008 07:58
11 lines
1139 bytes
Hello,

is there DBCtrlGrid like component for "normal" Vcl components.

Panel-list in which I could design one item with components I like.

Or could this be done with frames some how (etc)...

Any ideas would be more than welcome on this...

-TP-
Re: DBCtrlGrid like component for "normal" Vcl components
#149
Author: yannis
Date: Thu, 10 Jul 2008 10:41
22 lines
1481 bytes
Tommi Prami wrote:

> Hello,
> 
> is there DBCtrlGrid like component for "normal" Vcl components.
> 
> Panel-list in which I could design one item with components I like.
> 
> Or could this be done with frames some how (etc)...
> 
> Any ideas would be more than welcome on this...
> 
> -TP-

ideas on what? I lost my mind reading capability recently so I need you
to elaborate what are you trying to accomplish. your want a group of
components to do what?


-- 
"A scholar who cherishes the love of comfort is not fit to be 
 deemed a scholar." -- Lao-Tzu (570?-490? BC)
Re: DBCtrlGrid like component for "normal" Vcl components
#150
Author: Peter Below (TeamB)
Date: Thu, 10 Jul 2008 17:45
41 lines
2726 bytes
Tommi Prami wrote:

> Hello,
> 
> is there DBCtrlGrid like component for "normal" Vcl components.
> 
> Panel-list in which I could design one item with components I like.
> 
> Or could this be done with frames some how (etc)...
> 
> Any ideas would be more than welcome on this...

It's usually done with frames in a TScrollbox, for example. You add
frames as needed at run-time. The main difference compared with a
TDBCtrlGrid is Windows resource usage. A TDBCtrlGrid has only one set
of "real" controls, on the currently active pane for the active record.
All others are just images, so they do not use window handles. A
scrollbox full of frames uses a lot more window handles since all
frames are "live". Fortunately that is not a big problem on todays
Windows installations, but if you need to be able to handle a *lot* of
such frames at once (to display a large list of objects, for example)
it would pay to turn the design into a fixed number of frames (just
enough to fill the visible area of a host panel) that display different
objects as the user scrolls through the list (basically like a TDBGrid
handles its rows).

See http://tinyurl.com/6m6x79
alias
http://groups.google.de/group/borland.public.delphi.language.delphi.win3
2/tree/browse_frm/thread/45b8008957972b50/bed17d1015e318e4?hl=de&rnum=11
&q=frame+scrollbox+delphi&_done=%2Fgroup%2Fborland.public.delphi.languag
e.delphi.win32%2Fbrowse_frm%2Fthread%2F45b8008957972b50%2Ff313b9796aac68
b3%3Fhl%3Dde%26lnk%3Dst%26q%3Dframe%2Bscrollbox%2Bdelphi%26#doc_f313b979
6aac68b3

-- 
Peter Below (TeamB)  
Don't be a vampire (http://slash7.com/pages/vampires), 
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.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