Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slider Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01275347
Message ID:
01275927
Vues:
26
Looks great. Nice work!

I have it and I'm implementing your recommendations. I'l send it back as soon as I'm done.




>Hi Kevin,
>
>Please get my latest version from here:
>http://weblogs.foxite.com/files/cesarchalom/slidebarx/SlideBarX.zip
>
>
>Below are my answers to some of the point we discussed yesterday:
>
>>>>>>>IMO the best here is to add a property "SmallChange", that will contain the STEP for updating the control. "LargeChange" will be used when user clicks on the TrackLine, and will give a bigger step.
>
>Added Properties SmallChange / LargeChange
>
>>>>>>Have you decided on a property name for the max range and Small/Large change values?
>
>Yep !
>The new properties received the same names the ActiveX control has: Min and Max
>
>
>>>>Ok, I found a problem and have coded a simple solution.
>
>Works nice, i'm using this aproach in some other cases in the class, please keep it the way you created, it's nice !
>
>
>I've adjusted some memberdata properties, sending the properties used to the favorites tab.
>
>Another point to think: At this moment, we are using the name "Line" for the "Ticks". The activeX uses the name Ticks. I suggest changing instead of "LineColor", having "TickColor",
>
>
>
>Added a new property, "FixedLocation", that still needs some adjustments, but allows the control to have only some predefined locations, according to the SmallChange. Please run the new sample I added to the project to understand how it works.
>
>
>Other adjustments were needed to make the Tick lines to be in the correct position, according to the button. It's working nice now, see the sample.
>
>
>The original property for setting the TickStyle is "TickStyle" I see you created the "LinePosition". We may keep it this way, but I'd add the style #4, that is "No Ticks". In the ActiveX, when this property is changed, the button also changes, please make some changes in the activeX in the new form to see how it works originally.
>
>
>
>Included the property "ChangeWhenFocused", that allows changing the slider value with or wothout focus - Default = .F. - continues with the original behavior.
>
>
>
>TODO LIST:
>- Enable KeyPress code for arrows (Up / right = + smallchange Dn / Left = - SmallChange PgUp = + LargeChange PgDn = - LargeChange)
>- Enable MouseWheel
>- Add some custom MemberData Scripts
>
>
>Hope you like the modifications.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform