How do I put Toolbox objects into a table control?
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri May 19 14:09:34 EDT 2006
Hi Josh,
This won't work if you don't know whether you will need 100 or 1000
subroups. Also, if the lockloc of each objects in the template group
is true, you don't need to position the objects separately. Just set
the loc of the subgroup.
Then again, if you need to display 1000s of records, you will
probably not want to do this with controls in subgroups. The user
would get lost in such an interface. Instead, present the records in
one window and provide a way to edit a single record in another
window. The editing window would contain a small number of controls,
which is more friendly to the user.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html
Op 19-mei-2006, om 19:59 heeft Josh Mellicker het volgende geschreven:
> It seems that every project I want to do has a scrolling group of
> individual subgroups with various controls, each subgroup
> representing one "record" in a database.
>
> Since my routines for copying and repositioning a single "template"
> group over and over are slow, this morning I was thinking of this
> approach:
>
> 1. Create a scrolling group of 100 subgroups, make it invisible,
> this is the template
>
> 2. Copy that whole master template group, then populate the groups
> one at a time in a loop, making the subgroups visible as you go
>
> 3. (Then delete the unused ones?)
>
>
> This seems like it would be way faster than copying and
> repositioning each subgroup for each record since the subgroups
> already exist, and just need the data plugged in.
>
> When the list needed to be redrawn, you would just delete the whole
> big group, then repeat the process.
>
> This is a beginner talking, I'm sure others have figured out vastly
> brilliant ways to handle this.
>
More information about the use-livecode
mailing list