Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slider Control
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01275347
Message ID:
01275988
Views:
22
>>>Also, I noticed that GetPercent is not being called. is this needed?
>>
>>oH Yes, this needs to be removed as well
>>
>>
>>>Can you please look at txtFocus.KeyPress? I cannot seem to keep the focus on the control when
>>>the user presses an Arrow key. The PgUp and PgDown are working ok.
>>
>>Have you tried to add a NODEFAULT on the KeyPress event ?
>
>Not sure why I didn't think of that. Lack of sleep I think.
>
>Anyway,I just posted the latest changes. It's all yours.


Another point:

I saw you added the possibility to enable / disable the control. Cool.
But this still needs a small change, to make it behave like the ActiveX, and give a better effect, creating a disabled Image version of each of the controls images.

You can see how this should be easilly:

In the TEST2.SCX, in the INIT() event of the FORM, add this line:
This.oLEcontrol1.OBJECT.Enabled = .F.
So, we will need to add 2 new properties:
ThumbActive - Image for the button when anabled and has the mouse over it
ThumbDisabled - Image in GreyScale to be used when disabled
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform