<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi David and everyone.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I got around the BeginDrag method causing a 
premature tick in a CheckBox.&nbsp; I have a more serious problem now which I've 
been trying to solve for several&nbsp;hours but I'm not getting 
anywhere.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm getting either an access violation or an 
"Abstract Error"&nbsp;when dragging checkboxes in the CheckGroup.&nbsp; In my 
larger program, it&nbsp;actually works fine for 1 or 2&nbsp;drags, but the next 
one produces the error.&nbsp; In the test program, it occurs every 
time.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The error is occuring in the System.GetDynaMethod 
assember code which doesn't help me much.&nbsp; Here is a download of 
the&nbsp;component&nbsp;and a small test program.&nbsp; I hope someone can 
help.</FONT></DIV>
<DIV><A href="http://www.stationplaylist.com/ChkGroup.zip"><FONT face=Arial 
size=2>http://www.stationplaylist.com/ChkGroup.zip</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Compile, run, and drag one item onto 
another&nbsp;to produce the error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the cbDragDrop procedure, a copy of the dragged 
checkbox details (CBOld)&nbsp;is inserted at the drop location, and then the 
dragged checkbox is freed.&nbsp; </FONT><FONT face=Arial size=2>The error does 
not occur if I remark out the line:&nbsp;OldCB.Free.&nbsp; Perhaps the freed 
checkbox is being accessed somewhere but I can't establish where.&nbsp; I've 
tried break points in every procedure/function.<BR></DIV></FONT>
<DIV><FONT size=2><FONT face=Arial><FONT>It's a little messy with the TList and 
TStringList being used together but I'll clean that up 
later.</FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial><FONT>Many thanks,</FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT 
face=Arial><FONT>Ross.</DIV></FONT></FONT></FONT></BODY></HTML>