Hello Hardik!
What you're using for distributing your application? The Setup wizard works
just fine (for me, I can not speak for other people) in case when I have to
use ActiveX component. Never got such a problem. But if you want to avoid
using the ActiveX components, you can make your own Scrollbar class (a big
headache, can you imagine?) and go ahead with your own solution. As I can
imagine, this control could be a container with couple of buttons on top
and bottom edges, a shape that simulate the scrollbar area, and another
button that simulate the slider.
The Scrollbar container could have the properties HMin, Hmax that holds the
min/max possible values and the CurrentPosition that holds the current
value of slider position. In Click event of buttons you should change
appropriately the position of slider and the property for Cuurent Value.
also, you should use Drag event of slider to simulate movement by mouse and
you should use Click event of shape to simulate standard behaviour of
scrollbar when you click on scrollbar body. It's only thoughts, I'm not
have such a control (too lazy to spent time for inventing the wheels <g>)
>>scrollbars, change the position on the image control inside of the
>container.
>>The container should clip the sides of the image.
>>
>>Chris Holtz
>
>Hi Chris,
>
>Thanks for that. But, I forgot to mention one thing. I would like to
>achieve this without using the activex controls as far as possible. I
have
>had problems with setting up these activex controls at the client site.
>Most of the times, they give some sort of usage errors for registration
and
>proper licensing. As I am working on a demo copy which I would like to
send
>to several persons, I am looking for a more fool-proof solution. May be I
>am not right on my fears. Can you give me more information on it and how
to
>curb such problems?
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer