BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

howto: multiples control in a TIWGrid cell or alternatives ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Frédéric van der Plancke
Guest





PostPosted: Thu Jun 01, 2006 7:17 pm    Post subject: howto: multiples control in a TIWGrid cell or alternatives ? Reply with quote



Hello,

I'd like to create tables (of variable length=RowCount) with controls in
them, with more flexibility than a TIWGrid seems to allow : mostly, I'd like
more than one control per cell and more freedom of layout of these controls
in the cells. I am tempted to write my table in pure HTML produced by my app
(it's not that hard for what i need and allows flexibility), but the
integration of that into an Intraweb application then becomes the problem.

- if I use a TIWGrid, I am restricted to one control per cell, how can I
bypass that ? (I'd like to have a textarea and a button in the same cell, or
two links in the same cell, for instance).

- would it be reasonable (i.e. feasible and not too much programmer work) to
write a "textarea + button" component and a "multiple links" component and
put these as Control in each relevant TIWGrid cell ? (It would then be OK
for me if this control stays at the end of the cell contents)

- I can produce the table in pure HTML and embed that in a TIWText with
RawText=true, but then how to make the links point to some action in the
same user session ? And probably even more difficult, the same question for
my textarea + button pairs ?

Thanks for any help, ideas etc.

Frédéric van der Plancke
Back to top
Olaf Monien (Atozed Softw
Guest





PostPosted: Fri Jun 02, 2006 9:16 am    Post subject: Re: howto: multiples control in a TIWGrid cell or alternativ Reply with quote



Fridiric van der Plancke wrote:

Quote:
- if I use a TIWGrid, I am restricted to one control per cell, how
can I bypass that ? (I'd like to have a textarea and a button in the
same cell, or two links in the same cell, for instance).

You might try an IWRegion as control ...



--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Frédéric van der Plancke
Guest





PostPosted: Tue Jun 06, 2006 8:13 am    Post subject: Re: howto: multiples control in a TIWGrid cell or alternativ Reply with quote



"Olaf Monien (Atozed Software)" <olaf-no-spam-please (AT) atozed (DOT) com> wrote in
message news:447fff30$1 (AT) newsgroups (DOT) borland.com...
Quote:
Fridiric van der Plancke wrote:

- if I use a TIWGrid, I am restricted to one control per cell, how
can I bypass that ? (I'd like to have a textarea and a button in the
same cell, or two links in the same cell, for instance).

You might try an IWRegion as control ...

But TIWGridCell.Control must be a TIWCustomControl, and TIWRegion is "only"
a IIWBaseControl / IIWBaseHTMLControl / etc, not a TIWCustomControl... is
there an easy way to wrap the one into the other ?

Quote:



--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Olaf Monien (Atozed Softw
Guest





PostPosted: Wed Jun 07, 2006 6:31 pm    Post subject: Re: howto: multiples control in a TIWGrid cell or alternativ Reply with quote

Fridiric van der Plancke wrote:

Quote:
You might try an IWRegion as control ...

But TIWGridCell.Control must be a TIWCustomControl, and TIWRegion is
"only" a IIWBaseControl / IIWBaseHTMLControl / etc, not a
TIWCustomControl... is there an easy way to wrap the one into the
other ?

Sorry, no. I forgot about that. An IWGrid shopuld work as Control
though.


--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Frédéric van der Plancke
Guest





PostPosted: Wed Jun 14, 2006 7:53 pm    Post subject: Re: howto: multiples control in a TIWGrid cell or alternativ Reply with quote

"Olaf Monien (Atozed Software)" <olaf-no-spam-please (AT) atozed (DOT) com> wrote in
message news:4486d514$1 (AT) newsgroups (DOT) borland.com...
Quote:
Fridiric van der Plancke wrote:

You might try an IWRegion as control ...

But TIWGridCell.Control must be a TIWCustomControl, and TIWRegion is
"only" a IIWBaseControl / IIWBaseHTMLControl / etc, not a
TIWCustomControl... is there an easy way to wrap the one into the
other ?

Sorry, no. I forgot about that. An IWGrid shopuld work as Control
though.

That indeed works fine and allows me to do what I need, thank you. (Except
that, strangely enough, when I use a template layout manager for my form the
TIWMemo.Text value is always empty. May that be a related problem ?)

Quote:


--
Regards,

Olaf Monien
Atozed Software

Frederic
Back to top
Olaf Monien (Atozed Softw
Guest





PostPosted: Thu Jun 15, 2006 1:22 pm    Post subject: Re: howto: multiples control in a TIWGrid cell or alternativ Reply with quote

Fridiric van der Plancke wrote:

Quote:
for my form the TIWMemo.Text value is always empty. May that be a
related problem ?)

I think that was a bug in an earlier version.

--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.