Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a volume control to set a numeric value
Message
From
05/02/1999 13:29:48
 
 
To
05/02/1999 12:37:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00183991
Message ID:
00184445
Views:
22
>Thanks. I found "S"lider Control under the "M" not "S" on the pulldown list.
>
>Questions:
>
>1. The help for this control says to set the selectrange property to .t. to select a range when the shift key is down. This seems to defeat the purpose of using a mouse. We do not have users press shift in order to use a spinner or combobox. Why do so for a slider?
>
>2. There is no example in the slider help, so I looked at help for the selectrange property which has an example. It indicates that a developer must copy the example code to the "form's Declaration Section" in order to get the spinner to work. Where is the "form's Declaration Section"? I failed to find one in properties, data envior., builder, or code of the form.
>
>3. Would it not be a better product if it worked right out of the box without reprogramming? Comboboxes and spinners work as is now.
>
>4. I have some other questions about returning values etc. which can wait. I am trying to figure this out. Thanks. Selstart property is always the same.
>Why not keep track of it? I tried to tie it to .value.

I see, Erik gave gave you the answers. Basically, you use Slider Min,Max properties to set the range and Value property to return the actual position which reset by mouse.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform