S
shalomshachne
Hi -
As I've delved more into programming forms in C#, I'm seeing some
weird things, which don't (to me) make any sense. As I've Googled
around on these, it seems like the responses are saying these are "by
design". (My experience has been in .NET 2.0, so if these issues are
gone in the newer releases - then I'm just behind the times.)
Hoping to find some wisdom to help correct my concept of how the
design should be, so maybe future quirks will be more intuitive to
me. Any insight will be greatly appreciated...
1. Tooltips: Autopop property has hidden undocumented limit. No
matter how high you set the value, tool tip will disappear after
around 30 seconds. Does that make sense? Also, once Autopop time has
expired, returning mouse over control does not redisplay the tool
tip. I've seen work around code based on resetting tool tip by
handling Mouse Over/Out events. Do we all need to write handling code
to get a sane tool tip behavior? (Looking for a reality check
here...)
2. DataGridView.SelectedRows: for some reason, they decided that the
order of rows in the DataGridViewRowSelectedRowsCollection should be
the reverse order of how they are displayed in the grid. This seems
highly unintuitive for the user (if they are seeing things changed as
they add more rows to selection). Is there a rationale for this that
I am missing?
Anyway, maybe someone with deeper insight than I have can explain
these (and other quirks). And I apologize if this group is not the
right forum/context to post this message.
All the best to everyone struggling with GUI programming...
Sam
As I've delved more into programming forms in C#, I'm seeing some
weird things, which don't (to me) make any sense. As I've Googled
around on these, it seems like the responses are saying these are "by
design". (My experience has been in .NET 2.0, so if these issues are
gone in the newer releases - then I'm just behind the times.)
Hoping to find some wisdom to help correct my concept of how the
design should be, so maybe future quirks will be more intuitive to
me. Any insight will be greatly appreciated...
1. Tooltips: Autopop property has hidden undocumented limit. No
matter how high you set the value, tool tip will disappear after
around 30 seconds. Does that make sense? Also, once Autopop time has
expired, returning mouse over control does not redisplay the tool
tip. I've seen work around code based on resetting tool tip by
handling Mouse Over/Out events. Do we all need to write handling code
to get a sane tool tip behavior? (Looking for a reality check
here...)
2. DataGridView.SelectedRows: for some reason, they decided that the
order of rows in the DataGridViewRowSelectedRowsCollection should be
the reverse order of how they are displayed in the grid. This seems
highly unintuitive for the user (if they are seeing things changed as
they add more rows to selection). Is there a rationale for this that
I am missing?
Anyway, maybe someone with deeper insight than I have can explain
these (and other quirks). And I apologize if this group is not the
right forum/context to post this message.
All the best to everyone struggling with GUI programming...
Sam