simulate listbox

S

steve

since i have no control over the scrollbars in a listbox...

i need to create a listbox from a textbox and three label controls. one
label will hold scrollable text info while the other two will represent the
scrollbar and slider. the whole reason for this is so that i can add
suitable graphics for a touch-screen environment. i want to go with labels
b/c they don't cause my textbox to loose focus/validate when they are
clicked...they are "windowless".

anyway, i've scowered the net for an example of scrollable windowless
controls but have found none. if anyone has a starting point (url, etc.) or
suggestions, i'd love to hear them. else, i'll start from scratch.

tia,

steve
 
S

steve

textbox on top that allows input. a label below having a list of items. a
label at the right hand side representing a scrollbar. another label over
the scrollbar label representing a slider that scrolls the contents of the
list items label.

that's it...basically mimics a combobox.
 
H

Herfried K. Wagner [MVP]

* "steve said:
textbox on top that allows input. a label below having a list of items. a
label at the right hand side representing a scrollbar. another label over
the scrollbar label representing a slider that scrolls the contents of the
list items label.

that's it...basically mimics a combobox.

Sure, but why doesn't the combobox fit your needs?
 
S

steve

i cannot control the size, color, graphics, or anything remotely
customizable with any scrollable control. i need big, fat buttons for people
to use who have less than fine motor skills. this is a touch-screen
application used by end-of-the-line industrial manufacturers...built-in
scrollbars won't cut muster.

can you point me in the right direction?


| * "steve" <[email protected]> scripsit:
| > textbox on top that allows input. a label below having a list of items.
a
| > label at the right hand side representing a scrollbar. another label
over
| > the scrollbar label representing a slider that scrolls the contents of
the
| > list items label.
| >
| > that's it...basically mimics a combobox.
|
| Sure, but why doesn't the combobox fit your needs?
|
| --
| Herfried K. Wagner [MVP]
| <URL:http://dotnet.mvps.org/>
 
H

Herfried K. Wagner [MVP]

* "steve said:
i cannot control the size, color, graphics, or anything remotely
customizable with any scrollable control. i need big, fat buttons for people
to use who have less than fine motor skills. this is a touch-screen
application used by end-of-the-line industrial manufacturers...built-in
scrollbars won't cut muster.

As far as I know, you can change the size of scrollbars in the system's
display settings. I am still not sure why this doesn't solve the
problem.
 
S

steve

herf,

while i appreciate your williness to respond to my quandry, i'd be even more
delighted if you only respond with an answer that will take me beyond what i
already know. regardless of why you think something should or should not
resolve my "problem", my "problem" is a business "requirement".

you cannot mask a scrollbar with a graphic. scrollbars are comparitively
ugly in light of an application with all other controls drawn with rich
graphics. you cannot make a combo box's show/hide button be invisible. etc.,
etc...

besides that, this app must be able to run on *both* the standard and
compact .net framework...there is *no* editable combobox functionality in
the .net cf!

what would solve my "problem" is if you, or anyone else, could point me in
the right direction.

i do appreciate you responding but please don't make assumptions about what
my "problem" is...i simply need help meeting the "requirements" that i have
stated in previous posts in this thread.


| * "steve" <[email protected]> scripsit:
| > i cannot control the size, color, graphics, or anything remotely
| > customizable with any scrollable control. i need big, fat buttons for
people
| > to use who have less than fine motor skills. this is a touch-screen
| > application used by end-of-the-line industrial manufacturers...built-in
| > scrollbars won't cut muster.
|
| As far as I know, you can change the size of scrollbars in the system's
| display settings. I am still not sure why this doesn't solve the
| problem.
|
| --
| Herfried K. Wagner [MVP]
| <URL:http://dotnet.mvps.org/>
 
A

Armin Zingler

S

steve

the problem is that there is no problem. i just need to be able to use a
textbox and some labels to simulate a listbox/combobox. the answer would
fall somewhere between a code example or a url.


| > i do appreciate you responding but please don't make assumptions
| > about what my "problem" is...i simply need help meeting the
| > "requirements" that i have stated in previous posts in this
| > thread.
|
| I think he only wanted to know what the problem is in order to be able to
| solve it.
| That's always necessary to solve a problem. :)
|
|
| --
| Armin
|
| How to quote and why:
| http://www.plig.net/nnq/nquote.html
| http://www.netmeister.org/news/learn2quote.html
|
 
H

Herfried K. Wagner [MVP]

* "steve said:
you cannot mask a scrollbar with a graphic. scrollbars are comparitively
ugly in light of an application with all other controls drawn with rich
graphics. you cannot make a combo box's show/hide button be invisible. etc.,
etc...

Thank you. That's what I wanted to hear (did I miss that in your
previous posts?). I don't think that there is a simple solution to your
question, maybe this article will help you to implement the dropdown
part of the combobox control:

<URL:http://vbaccelerator.com/article.asp?id=13309>
 
S

steve

never mind. i'm now happily using my home-grown simulated combo/listbox w/
single/multi selects, graphical scrollbars, background and items, v/h
scrollbar elements, etc., etc.


| the problem is that there is no problem. i just need to be able to use a
| textbox and some labels to simulate a listbox/combobox. the answer would
| fall somewhere between a code example or a url.
|
|
| | | > i do appreciate you responding but please don't make assumptions
| | > about what my "problem" is...i simply need help meeting the
| | > "requirements" that i have stated in previous posts in this
| | > thread.
| |
| | I think he only wanted to know what the problem is in order to be able
to
| | solve it.
| | That's always necessary to solve a problem. :)
| |
| |
| | --
| | Armin
| |
| | How to quote and why:
| | http://www.plig.net/nnq/nquote.html
| | http://www.netmeister.org/news/learn2quote.html
| |
|
|
 
S

steve

the solution was simple and took about an hour and a half to create/debug. i
can send a snippet if you'd like.

thx,

steve


| * "steve" <[email protected]> scripsit:
| > you cannot mask a scrollbar with a graphic. scrollbars are comparitively
| > ugly in light of an application with all other controls drawn with rich
| > graphics. you cannot make a combo box's show/hide button be invisible.
etc.,
| > etc...
|
| Thank you. That's what I wanted to hear (did I miss that in your
| previous posts?). I don't think that there is a simple solution to your
| question, maybe this article will help you to implement the dropdown
| part of the combobox control:
|
| <URL:http://vbaccelerator.com/article.asp?id=13309>
|
| --
| Herfried K. Wagner [MVP]
| <URL:http://dotnet.mvps.org/>
 
H

Herfried K. Wagner [MVP]

* "steve said:
the solution was simple and took about an hour and a half to create/debug. i
can send a snippet if you'd like.

If possible, you can post the most important parts here for future
reference.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top