tips
[Top] [All Lists]

Even more on Better Debugging

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: Even more on Better Debugging
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Wed, 15 Mar 2000 16:17:37 -0600
Adam Robinson (from our Tech Support department) has an improved version of
the Append method that will perform better and flicker less as your
DebugResults window fills with more and more information. Here's an improved
version of the Append method:

Sub Append(results as string)
Dim start,length as integer

start=editfield1.selstart
length=editfield1.sellength

editfield1.selstart=len(editfield1.text)
editfield1.seltext=results

editfield1.selstart=start
editfield1.sellength=length
End Sub
--

Geoff Perlman
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com



 - - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>
  • Even more on Better Debugging, Geoff Perlman <=