|
|
|
start date: Tue, 07 Aug 2007 00:28:56 -0700,
posted on: microsoft.public.dotnet.languages.vb.controls
back
| Thread Index |
|
1
nohel
|
|
2
AlexS LEASE
|
Adding controls at running time
hello i'have a question, i'm already development an app that read
images from a directory (i dont know in advance how many images will
be) an i'm thinking in show them up on a ControlTab an adding many
tabs as images i have, obviusly the controlTab there be empty an when
read the total of images loaded in a same number of tabs, also add a
checkbox in each tab that the user select or deselect for printing,
then save all the images in a database, so i'm requesting your advice,
this is posible ??, i mean, because vb 2005 dont use control matrix
anymore, instead use control collection but i'm not familiar with it
you could recomend me a web site o a forum where i could find some
samples to start ????
Date:Tue, 07 Aug 2007 00:28:56 -0700
Author:
|
Re: Adding controls at running time
You should use "paging" pattern. For this it is sufficient to have one
preview panel or tab page, there is no need to use multiple tabs. Load only
some sensible number of images - 20-40 max. Load them in background. Provide
controls to scroll down-up in the general list of files. Show images in
preview mode as thumbs and only for image files, which user sees on the
screen and can select, not for all of them. If user wants to see full-size
image load and show image separately.
Otherwise, you can try to convert images to thumbs and show only thumbs, but
even in this case you should be prepared to deal with 100K image objects,
which can easily fit into single folder. That will not work satisfactory in
the nearest future.
"nohel" wrote in message
news:1186471736.935365.142140@x35g2000prf.googlegroups.com...
> hello i'have a question, i'm already development an app that read
> images from a directory (i dont know in advance how many images will
> be) an i'm thinking in show them up on a ControlTab an adding many
> tabs as images i have, obviusly the controlTab there be empty an when
> read the total of images loaded in a same number of tabs, also add a
> checkbox in each tab that the user select or deselect for printing,
> then save all the images in a database, so i'm requesting your advice,
> this is posible ??, i mean, because vb 2005 dont use control matrix
> anymore, instead use control collection but i'm not familiar with it
> you could recomend me a web site o a forum where i could find some
> samples to start ????
>
Date:Tue, 7 Aug 2007 07:55:06 -0400
Author:
|
|
|