Issue:
I have a slider used to adjust a value. When the slider is moved, an action is
triggered to display the value in a panel. When a start button is pressed,
another action is triggered, and within that action the value of the slider is
ascertained. I have discovered than when calling the
On 2 Jun 2014, at 10:28 am, Peters, Brandon bap...@my.fsu.edu wrote:
have a slider used to adjust a value. When the slider is moved, an action is
triggered to display the value in a panel. When a start button is pressed,
another action is triggered, and within that action the value of the
Graham,
For the first action:
Declaration:
// allows user to set the value of the friction coefficient
IBOutlet NSSlider *_frictionSlider;
// displays friction coefficient chosen by the user
IBOutlet NSTextField *_frictionDisplay;
// allows user to set the mass
I can't see anything obviously wrong Peter - assuming your text fields do
update properly it would suggest that your sliders are connected, in which case
the second bit of code should work. Whatever the problem is, it's not in this
part of the code.
I would say that your approach here is a bit
On Nov 11, 2008, at 3:17 PM, Mr. Gecko wrote:
Short Question How can I get the value and set the value for NSSlider?
-doubleValue and -setDoubleValue:.
Nick Zitzmann
http://www.chronosnet.com/
___
Cocoa-dev mailing list
On 11 Nov 08, at 14:17, Mr. Gecko wrote:
Short Question How can I get the value and set the value for NSSlider?
NSSlider is a subclass of NSControl, so it inherits all the getter and
setter methods from that class. The two you're probably most
interested in are floatValue and
Short Question How can I get the value and set the value for NSSlider?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
On 12 Nov 2008, at 9:17 am, Mr. Gecko wrote:
Short Question How can I get the value and set the value for NSSlider?
Since NSSlider is a subclass of NSControl it supports the substantial
list of methods there to get/set its value.
hth, Graham
Lots of the same answers and it works, thanks.
On Nov 11, 2008, at 4:29 PM, Graham Cox wrote:
On 12 Nov 2008, at 9:17 am, Mr. Gecko wrote:
Short Question How can I get the value and set the value for
NSSlider?
Since NSSlider is a subclass of NSControl it supports the
substantial list
I have an NSSlider and while the drag is in progress I would like to display
the value in a text field. When the drag completes I would like the new value
to get set in the user preferences and an action executed.
As far as I can tell I'll have to set the slider to send its action
On Tue, Jun 17, 2008 at 1:19 PM, Andy Klepack
[EMAIL PROTECTED] wrote:
I have an NSSlider and while the drag is in progress I would like to display
the value in a text field. When the drag completes I would like the new value
to get set in the user preferences and an action executed.
As far
On Jun 17, 2008, at 1:19 PM, Andy Klepack wrote:
I have an NSSlider and while the drag is in progress I would like to
display the value in a text field. When the drag completes I would
like the new value to get set in the user preferences and an action
executed.
As far as I can tell
12 matches
Mail list logo