When ReadOnly is True the up/down buttons remain although they don't now do anything.? In that case the number display are should instead occupy the entire component width.? This way there would be a way to display a number directly without first converting to a string. ?
Not a big thing but now is the time to do the little things. ?
A. G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130614/4bcdd77b/attachment.html>
Mailing lists / lazarus / 2013-06
TSpinEdit - a modest propoal
4 messages · 3 people ·
- MMattias Gaertner 2
- AAlejandro Gonzalo 1
- BBart 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
When ReadOnly is True the up/down buttons remain although they don't now do anything.? In that case the number display are should instead occupy the entire component width.?This way there would be a way to display a number directly without first converting to a string. ? Not a big thing but now is the time to do the little things.
Feel free to implement and send a patch.
Mattias
When ReadOnly is True the up/down buttons remain although they don't now do anything.? In…
Alejandro Gonzalo wroteWhen ReadOnly is True the up/down buttons remain although they don't now do anything. In that case the number display are should instead occupy the entire component width.
Why should they?
I'm not even sure this can be accomplished across widgetsets.
This way there would be a way to display a number directly without first converting to a string.
You lost me there.
Besides a Value property the control also has a Text property. But none of this should have anything to do with wether or not the up/down arrows are visible.
Bart
Show quoted text 8 lines
That's not a big problem.
It is only a visual thing. It does not need extra events. You can implement it only in some interfaces, document it via the 'Restricted' and add a widgetset capability flag, so that applications know if the current widgetset supports it.
Show quoted text 7 lines
Yes, I didn't understand that neither. Probably it gets more clear when seeing the patch.
Mattias
