Inner Exception:
-----------------------------------------------------------
at Leadit.ExtendedDataGrid.ExtendedDataGridControl.se t_CellValue(Object
value)
at Leadit.ExtendedDataGrid.ExtendedDataGridControlCol umn.Paint(Graphics
g, Rectangle bounds, CurrencyManager source, Int32 rowNum, Brush backBrush,
Brush foreBrush, Boolean alignToRight)" String
-------------------------------------------------------------
Outer Exception:
-------------------------------------------------------------
at Leadit.ExtendedDataGrid.ExtendedDataGridControlCol umn.Paint(Graphics g,
Rectangle bounds, CurrencyManager source, Int32 rowNum, Brush backBrush,
Brush foreBrush, Boolean alignToRight)
at
System.Windows.Forms.DataGridRelationshipRow.Paint CellContents(Graphics g,
Rectangle cellBounds, DataGridColumnStyle column, Brush backBr, Brush
foreBrush, Boolean alignToRight)
at System.Windows.Forms.DataGridRow.PaintData(Graphic s g, Rectangle
bounds, Int32 firstVisibleColumn, Int32 columnCount, Boolean alignToRight)
at System.Windows.Forms.DataGridRelationshipRow.Paint (Graphics g,
Rectangle bounds, Rectangle trueRowBounds, Int32 firstVisibleColumn, Int32
numVisibleColumns, Boolean alignToRight)
at System.Windows.Forms.DataGrid.PaintRows(Graphics g, Rectangle&
boundingRect)
at System.Windows.Forms.DataGrid.PaintGrid(Graphics g, Rectangle
gridBounds)
at System.Windows.Forms.DataGrid.OnPaint(PaintEventAr gs pe)
at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.MessageBox( HandleRef hWnd,
String text, String caption, Int32 type)
at System.Windows.Forms.MessageBox.ShowCore(IWin32Win dow owner, String
text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton, MessageBoxOptions options)
at System.Windows.Forms.MessageBox.Show(IWin32Window owner, String text,
String caption, MessageBoxButtons buttons, MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton, MessageBoxOptions options)
at Microsoft.VisualBasic.Interaction.MsgBox(Object Prompt, MsgBoxStyle
Buttons, Object Title)
at WindowsUI.Starter.ThreadException(Object sender,
ThreadExceptionEventArgs e) in C:\Projects\CDS\Kidder Music Rental Lease
v1.5\KMRentLease\WindowsUI\Starter.vb:line 116
at System.Windows.Forms.ThreadContext.OnThreadExcepti on(Exception t)
at System.Windows.Forms.Application.OnThreadException (Exception t)
at System.Windows.Forms.ContainerControl.UpdateFocuse dControl()
at
System.Windows.Forms.ContainerControl.AssignActive ControlInternal(Control
value)
at System.Windows.Forms.ContainerControl.ActivateCont rolInternal(Control
control, Boolean originator)
at System.Windows.Forms.ContainerControl.SetActiveCon trolInternal(Control
value)
at System.Windows.Forms.ContainerControl.SetActiveCon trol(Control ctl)
at System.Windows.Forms.ContainerControl.set_ActiveCo ntrol(Control value)
at System.Windows.Forms.Control.Select(Boolean directed, Boolean forward)
at System.Windows.Forms.Control.SelectNextControl(Con trol ctl, Boolean
forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
at System.Windows.Forms.Form.ProcessTabKey(Boolean forward)
at System.Windows.Forms.ContainerControl.ProcessDialo gKey(Keys keyData)
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey( Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Mes sage& msg)
at
System.Windows.Forms.ThreadContext.System.Windows. Forms.UnsafeNativeMethods+
IMsoComponent.FPreTranslateMessage(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windo ws.Forms.UnsafeNativeMetho
ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason,
Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WindowsUI.Starter.main() in C:\Projects\CDS\Kidder Music Rental Lease
v1.5\KMRentLease\WindowsUI\Starter.vb:line 101" String
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c1*************@ID-208219.news.uni-berlin.de...
* "CJ Taylor" <no****@blowgoats.com> scripsit: Has anyone had problems getting custom controls to work in Jan's
Extended Data Grid? I'm just tryin to amke a simple button column extension and
keep getting an exception on the paint.
What exception?
--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>