Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrolling a bitmap
Message
From
18/11/1997 04:45:30
 
 
To
18/11/1997 02:25:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00060435
Message ID:
00060861
Views:
47
Hi Vladimir,

I agree with you. I too am not interested in re-inventing the wheels. I think I shall concentrate more on using the ActiveX controls. One thing is sure, it does make the tasks a lot easy. But like Chris said, using ActiveX controls may increase the overhead. Do you agree with that? Do you refrain from using Activex controls as far as possible?

TIA


>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform