[Mono-winforms-list] Month Calendar and NumericUpDown Control

jba jba-mono at optusnet.com.au
Fri Jun 10 08:37:30 EDT 2005

Hey guys,

I saw a commit that said NumericUpDown was implemented so I wired it
into MonthCalendar (which should now be considered feature complete).

Along the way I discovered what I think are bugs in NumericUpDown. If
NumericUpDown is not actually complete yet then feel free to ignore
these points:

- Setting the Value property for the numeric up down control while it's
not visible results in that value not being set. I believe the flow is
	Set .Visible = false
	Set .Minimum 
	.Value now has .Minimum as it's value
	Set .Value;
	.Value calls one of the updateedit method which inturn uses a parseedit
method which for some reason reads the minimum value as the current text
and so .Value gets reset to parsed minimum value.

- It's not responding to Readonly property correctly (.ReadOnly = true
means up/down buttons work but not text editing.

- It seems to render buttons on windows for me, but not on linux

- It doesn't seem to be handling the key press events (this may be an
issue with the way I'm using it though).

There was something else about the way MonthCalendar render's on linux
but I can't remember it now. Will send that through when I remember.



More information about the Mono-winforms-list mailing list