On 5-Feb-06, at 12:17 PM, Steve Garman wrote:

In a message regarding Re: keeping tabs in a canvas dated Sun, 5 Feb 2006
14:43:30 -0500, Joe Cabrera said that ...

BTW, I've been using "key = Chr (9)" for my tab press check. Is that
a kosher way to do it in my code, rather that your way above?

Yes it's the same thing.

However, if your checking for multiple keys, it's a little more efficient
to use something like:

  Select Case Asc(key)

and then compare against integers. It's only one function call.

But where did 3d come into the  picture?

  if asc (key) =3d 9 Then
    speak "next column"
    Return True
  end if

Was it the list itself that generated it as it wasn't in the original.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to