This patch contains some minor fix-ups and a couple of feature changes:
- Option to display null values as "(null)" with different coloring
- When drawing row numbers, apply clipping to ensure numbers do not overflow to next column
There are various minor changes to item sizes and some text due to different tool configuration, which may need to be removed before integrating the patch.
Patch generated with "Ignore EOL changes", "Ignore whitespace changes" and "Ignore all whitespaces" options.
-- PATCH DETAILS
Patch against revision 69.
Changes:
Settings:
- Added new boolean setting "ShowNulls", default = False
- Added "Show null values" setting to settings dialog
- Changed settings dialog layout slightly
- Changed settings dialog title
Main Form:
- Renamed "toolStripMenuItem1" (File->New) to "newToolStripMenuItem"
- Fixed "New" menu item to copy "New" toolbar button
- Added "Hide Null Values" and "Show Null Values" to Query menu
IQueryForm
- Added new boolean property "GridShowNulls"
Query Form
- added GridShowNulls property and boolean member gridShowNulls
- Added code to DisplayGrid(DataTable dt) method to show '(null)' for fields with null values
- Added event handler for dataGrid.CellPainting to change cell colors for null values
- Changed dataGrid_RowPostPaint() event handler to apply clipping to the drawing of row numbers
Patch vs revision #69