Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Spinbox Options

Closed / Invalid2056862fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-08-18 04:52:47
The current behaviour of a spinbox differs from that of other widgets such as radiobuttions such that the initial value is the first item in a values list

This limits the functionality and is confusing (at least to me)

To preserve current functionality but extend the capability I would propose and additional option of 
-initialvalue 

The behaviour should be to confirm this is a valid item in the -values list and if it is than this value should be displayed in the widget, if it is not a valid item then the first item in the values list should be displayed


please refer to ActiveTcl Bug 71910: for other comments



[email protected]
dgpplain2008-08-18 23:13:00
Logged In: YES 
user_id=80530
Originator: NO


[spinbox] is not part of Tcl.

Please place your requests for
Tk in Tk's Tracker.

http://sourceforge.net/tracker/?atid=362997&group_id=12997&func=browse
[email protected]plain2008-08-19 09:18:32
Logged In: NO 

Please refer to 

http://sourceforge.net/tracker/index.php?func=detail&aid=1778168&group_id=12997&atid=362997

------- Comments from [email protected] 2007-08-20 11:30
This is by design, that when setting both -textvar and -values, the
-values
will override whatever -textvar specified. Please refile as an RFE at
tcl.sourceforge.net to track with the core bug db.

Jeff suggests filing RFE on TCL & now the suggestion is to file RFE on TK Toolbox

Which one is appropriate please, Now I am more confused

[email protected]
dgpplain2008-08-19 09:27:49
Logged In: YES 
user_id=80530
Originator: NO


Ok, so it appears the matter is
already logged in the Tk RFE Tracker
as item 1778168.  That's the right
place so direct your followup
comments there.
[email protected]plain2008-08-19 20:55:33
Logged In: NO 

A "bug" / enquiry was logged by another person under 1778168 a while back
and Jeff suggested the RFE which the person did not follow up with, but
Jeff's suggestion was vague on which to log it under (TCL or TK)

The other person's programming difficulty was similar to mine so 
I have now logged an RFE on TK ref No [ 2058868 ] Spinbox Options
with, I hope, a reasonable explanation and a proposed solution.

Thanks for your guidance though

[email protected]
Log in (anonymous is fine) to add a comment.