Login to participate
  
Register   Lost ID/password?

Louis Kessler’s Behold Blog

Wednesday, April 21, 2004 - Wed, 21 Apr 2004

It seems that the OnCaretMove routine is called whenever the RichViewEdit is cleared. I clear it everytime I create a new report, and the call to RVE.GetCurrentItem in my OnCaretMove routine occasionally causes an exception because the RVE is not completely cleared. I can fix this by avoiding my call to GetCurrentItem if the RVE is in the process of being cleared … or this may be a bug in RichView that has since been fixed.

Tuesday, April 20, 2004 - Tue, 20 Apr 2004

Next step is to set up the History List for Instant Organize so that previous Instant Organizes can easily be redone. Setting up the structure for this has a previous example I can borrow from - that being the history list of the Open File dialog.

While doing this, the OnCaretMove bug I thought I solved on April 16th resurfaced. It had popped up in the last few days, but I couldn’t isolate exactly when it happened. Finally tonight, I’ve got a file and a set of operations that can make it happen consistently, which now makes it possible to trace to what is wrong.

Monday, April 19, 2004 - Mon, 19 Apr 2004

Somewhere along the line, I introduced a small bug. The Surname Organize no longer works when the button is pushed. After 5 minutes of debugging, this was an easy one to solve. I inadvertently had moved the SurnameLinks cleanup into the ReportLinks cleanup routine. The surname links were getting cleared out and no surnames were left for the Surname-organized report.

Now I’ve got to get the new Reorganize Button working. It will use the last Organize info saved to the stream following an Auto-, Surname-, or Instant Organize. I had most of the code in place and setting it up was basically to call the Organize Cancel button to reload the Organize info from the stream and then ProcessData to recreate the report, plus a minor bit of housekeeping to do along with that.