On Sep 2, 2006, at 8:01 AM, Robert Poland wrote:


On Sep 2, 2006, at 8:04 AM, Terry Ford wrote:


On Sep 2, 2006, at 6:47 AM, Robert Poland wrote:

  #if TargetWin32 then
 Stuff...
  #endif // end Target Windows

#if Target statements usually do not use 'Then'.

Exception: "#If statements can be written on one line if there are no #Else or #Elseif clauses. In this case, the Then keyword is required and the #endif is not part of the syntax."

Try it without the 'Then'.

Terry

Still won't work. I inserted a Dim statement before "#if TargetWin32" and a breakpoint. That never gets accessed.

Perhaps something previous is Returning True, Parallels thinks it is a Mac or ???

Are you putting this code in the Window or Editfield Keydown event? If you have something in the Editfield's Keydown event it will execute before the window's.

BTW. You can simply type 'Break' in your code. You don't need a Dim statement with a breakpoint.

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