Inner Exception:
-----------------------------------------------------------
at Leadit.Extended DataGrid.Extend edDataGridContr ol.set_CellValu e(Object
value)
at Leadit.Extended DataGrid.Extend edDataGridContr olColumn.Paint( Graphics
g, Rectangle bounds, CurrencyManager source, Int32 rowNum, Brush backBrush,
Brush foreBrush, Boolean alignToRight)" String
-------------------------------------------------------------
Outer Exception:
-------------------------------------------------------------
at Leadit.Extended DataGrid.Extend edDataGridContr olColumn.Paint( Graphics g,
Rectangle bounds, CurrencyManager source, Int32 rowNum, Brush backBrush,
Brush foreBrush, Boolean alignToRight)
at
System.Windows. Forms.DataGridR elationshipRow. PaintCellConten ts(Graphics g,
Rectangle cellBounds, DataGridColumnS tyle column, Brush backBr, Brush
foreBrush, Boolean alignToRight)
at System.Windows. Forms.DataGridR ow.PaintData(Gr aphics g, Rectangle
bounds, Int32 firstVisibleCol umn, Int32 columnCount, Boolean alignToRight)
at System.Windows. Forms.DataGridR elationshipRow. Paint(Graphics g,
Rectangle bounds, Rectangle trueRowBounds, Int32 firstVisibleCol umn, Int32
numVisibleColum ns, Boolean alignToRight)
at System.Windows. Forms.DataGrid. PaintRows(Graph ics g, Rectangle&
boundingRect)
at System.Windows. Forms.DataGrid. PaintGrid(Graph ics g, Rectangle
gridBounds)
at System.Windows. Forms.DataGrid. OnPaint(PaintEv entArgs pe)
at System.Windows. Forms.Control.P aintWithErrorHa ndling(PaintEve ntArgs e,
Int16 layer, Boolean disposeEventArg s)
at System.Windows. Forms.Control.W mPaint(Message& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.DebuggableC allback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows. Forms.SafeNativ eMethods.Messag eBox(HandleRef hWnd,
String text, String caption, Int32 type)
at System.Windows. Forms.MessageBo x.ShowCore(IWin 32Window owner, String
text, String caption, MessageBoxButto ns buttons, MessageBoxIcon icon,
MessageBoxDefau ltButton defaultButton, MessageBoxOptio ns options)
at System.Windows. Forms.MessageBo x.Show(IWin32Wi ndow owner, String text,
String caption, MessageBoxButto ns buttons, MessageBoxIcon icon,
MessageBoxDefau ltButton defaultButton, MessageBoxOptio ns options)
at Microsoft.Visua lBasic.Interact ion.MsgBox(Obje ct Prompt, MsgBoxStyle
Buttons, Object Title)
at WindowsUI.Start er.ThreadExcept ion(Object sender,
ThreadException EventArgs e) in C:\Projects\CDS \Kidder Music Rental Lease
v1.5\KMRentLeas e\WindowsUI\Sta rter.vb:line 116
at System.Windows. Forms.ThreadCon text.OnThreadEx ception(Excepti on t)
at System.Windows. Forms.Applicati on.OnThreadExce ption(Exception t)
at System.Windows. Forms.Container Control.UpdateF ocusedControl()
at
System.Windows. Forms.Container Control.AssignA ctiveControlInt ernal(Control
value)
at System.Windows. Forms.Container Control.Activat eControlInterna l(Control
control, Boolean originator)
at System.Windows. Forms.Container Control.SetActi veControlIntern al(Control
value)
at System.Windows. Forms.Container Control.SetActi veControl(Contr ol ctl)
at System.Windows. Forms.Container Control.set_Act iveControl(Cont rol value)
at System.Windows. Forms.Control.S elect(Boolean directed, Boolean forward)
at System.Windows. Forms.Control.S electNextContro l(Control ctl, Boolean
forward, Boolean tabStopOnly, Boolean nested, Boolean wrap)
at System.Windows. Forms.Form.Proc essTabKey(Boole an forward)
at System.Windows. Forms.Container Control.Process DialogKey(Keys keyData)
at System.Windows. Forms.Form.Proc essDialogKey(Ke ys keyData)
at System.Windows. Forms.Control.P rocessDialogKey (Keys keyData)
at System.Windows. Forms.Control.P rocessDialogKey (Keys keyData)
at System.Windows. Forms.TextBoxBa se.ProcessDialo gKey(Keys keyData)
at System.Windows. Forms.Control.P reProcessMessag e(Message& msg)
at
System.Windows. Forms.ThreadCon text.System.Win dows.Forms.Unsa feNativeMethods +
IMsoComponent.F PreTranslateMes sage(MSG& msg)
at
System.Windows. Forms.Component Manager.System. Windows.Forms.U nsafeNativeMeth o
ds+IMsoComponen tManager.FPushM essageLoop(Int3 2 dwComponentID, Int32 reason,
Int32 pvLoopData)
at System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32 reason,
ApplicationCont ext context)
at System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason,
ApplicationCont ext context)
at System.Windows. Forms.Applicati on.Run(Form mainForm)
at WindowsUI.Start er.main() in C:\Projects\CDS \Kidder Music Rental Lease
v1.5\KMRentLeas e\WindowsUI\Sta rter.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****@blowgoa ts.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/>