First of all, please *do not cross-post* to both lists. You might
find yourself booted off of the lists as REAL really frowns upon it.
OK, sorry.
Since you are obviously learning the basics, the Getting Started list
is best to stick with.
Ah well, OK, I guess. Consider this my last post to nuggets.

Another thing you should be aware of is that Container controls are a
*pro-only* feature and relatively new at that. This limits the list a
bit more.
Meaning you have to be a pro to use it? Well, good luck with that.
The obvious disadvantages are:
- I have to know the amount of controls beforehand

Not necessarily. You can keep track of how many groups you have in a
variable and use a sub-classed disclosure triangle control array to
keep a single copy of any similar code in methods of the sub-class.
That's useful! Thanks.

- this is a lot of code and there's no method I can refer to in
every triangle instead of putting something very similar in every
triangle handler

Each Disclosure Triangle has an index which you can use to identify
which one is clicked on.
Yep, and I realized belatedly that if I reset the control's positions every
 time, I actually can put all of it in one method.

I feel really smart, figuring stuff out that you probably already know
since kindergarden... actually I don't.

Do simple tests to learn how to use control arrays and sub-classes
before trying the all at once final approach.
Well, I do that, but thanks.

The control array is the most important as the methods can be in the
window as well in many cases.

Looking into it, thanks.
Search the archives (in the footer) for control arrays and you will
find lots of information. Look in both GS and NUG as one is older
than the other (NUG).
Thanks!

Terry

PS. Try to stick to one thread rather than a new subject each time.
Will do. Thanks again for taking the time to answer.

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>

Reply via email to