gettingstarted
[Top] [All Lists]

shifting controls up and down (Gewijzigd door Koen van Hees)

To: realbasic-nug at lists dot realsoftware dot com
Subject: shifting controls up and down (Gewijzigd door Koen van Hees)
From: Koen van Hees <koen at verspeelt dot com>
Date: Thu, 27 Jul 2006 23:49:25 +0200
Cc:
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Resent-date: Thu, 27 Jul 2006 23:52:03 +0200
Resent-from: Koen van Hees <koen at verspeelt dot com>
Resent-message-id: <09e78c10ee1d663b401df031734a04d4 at verspeelt dot com>
Resent-to: gettingstarted at lists dot realsoftware dot com
Hello,

Sorry to basically ask the same thing twice, but on
rereading I thought my first question wasn't really
clear.
So once more:

I have a project where user action can clone a group of
controls as much as needed.
The cloned group appears below the other group(s).
I use a show/hide mechanism for each group of controls.
show/hide is triggered by a disclosuretriangle.

So if a user makes 4 groups, you'll see this
|> group 1
|> group 2
|> group 3
|> group 4

The group containercontrol uses a canvas that changes
its height with disclosuretriangle.value. With value False,
you only see the triangle and a combobox, with value
True you see the controls below.
This works with only one group, but with more of them,
they overlap.

My questions:
1) What is the best approach to do this and
2) How can I get these groups of controls shift up and down
when users show or hide one of them
(so that they don't overlap or end up all over the place)

I suspect any solution will include the
words "sub-class" and "control array", since those are t
terms I keep bumping into, but at the same time I keep
getting hints that this doesn't work with containercontrols.

Any help or hint appreciated!

Cordially,

Koen van Hees
Les Allées de St. Genis
299 Allée Diderot
01630 St Genis Pouilly
France
tel: +33 (0)4 50 42 08 78

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • shifting controls up and down (Gewijzigd door Koen van Hees), Koen van Hees <=