Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What VB6 control to use for variable sentences?

0 views
Skip to first unread message

Mojo

unread,
Nov 8, 2009, 11:18:04 AM11/8/09
to
Hi All

I know this is going to sound like such a sparsely worded question, but I
just wanted to post it to get your expert views.

Basically I've got to put together a form that allows a user to click
on/highlight a number of sentences. These sentences are broken up into 7
types and 6 categories so on screen the user may only see about 15 - 20
sentences at any one time.

I have all of the sentences in a DB so I can extract them no probs and have
a mini framework in place so that new sentences (unlikely to be honest)
could be added without too much fuss. My problem is what I use to display
this sentences on the form.

Because the sentences vary in numbers and length, eg one type/category might
contain 8 sentences but they are all about 30 chars long, whereas another
type/category might contain 4 sentences, but these vary from 20 - 58 chars
long.

I thought about having 42 picture boxes (extreme I know!!) and physically
laying out a 2 row deep label per sentence so that everything is positioned
how I want it, but this seems too extreme. My problem is there doesn't seem
anything that will allow me to vertically free flow the text like say HTML
does and I wanted to stick a few small icons near the text if a particular
sentence has a comment tied to it.

I know this sounds like a real newbie query, but has anybody got any ideas
on the way I should tackle this display issue?

Thanks

Gutless Umbrella Carrying Sissy

unread,
Nov 8, 2009, 2:03:22 PM11/8/09
to
"Mojo" <ple...@dont.spam.com> wrote in
news:8r6dnWCxxpPfcmvX...@brightview.co.uk:

What's wrong with Label controls set to Autosize = True?

--
Terry Austin

Terry Austin: like the polio vaccine, only with more asshole. -
David Bilek

Yeah, I had Terry confused with Hannibal Lecter. - Mike Schilling

Jesus forgives sinners, not criminals.

Dee Earley

unread,
Nov 11, 2009, 10:14:21 AM11/11/09
to
On 08/11/2009 16:18, Mojo wrote:
> Hi All
>
> I know this is going to sound like such a sparsely worded question, but I
> just wanted to post it to get your expert views.
>
> Basically I've got to put together a form that allows a user to click
> on/highlight a number of sentences. These sentences are broken up into 7
> types and 6 categories so on screen the user may only see about 15 - 20
> sentences at any one time.

You have a few options...
1) Labels loaded, sized and moved as needed, putting each below the one
before it.

2) Do the same but draw the text yourself

3) User the text/rich text control

4) Use the HTML control

Personally, I'd use 1 or 2

--
Dee Earley (dee.e...@icode.co.uk)
i-Catcher Development Team

iCode Systems

0 new messages