[futurebasic] PowerPak 3Dtx-bug

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1998 : Group Archive : Group : All Groups

From: Chris Henkel <chatworks@...>
Date: Fri, 13 Feb 1998 23:22:28 +0100
Hello,

well, it took me a couple of months, but now I am quite sure to have solved
a problem with the 3Dtx-filter from PowerPak, where it was painting into
every window-item on updates a couple of points and lines.

The original code from the filter as follows:

LONG IF gLongAction& = _oUserUpdate
  LONG IF gObjUserTp& = _"3Dtx"
    gControlTitle$ = STR#(_baseID,gObjElement)
  END IF
  FN do3DTxt(gControlTitle$,gObjT,gObjUser1%,gObjUser2%,gObjUser3%,gObjUser4%)
END IF

must be changed to this:

LONG IF gLongAction& = _oUserUpdate
  LONG IF gObjUserTp& = _"3Dtx"
    gControlTitle$ = STR#(_baseID,gObjElement)
    FN
do3DTxt(gControlTitle$,gObjT,gObjUser1%,gObjUser2%,gObjUser3%,gObjUser4%)
  END IF
END IF

Now it works just perfect - at least for me :o))

When I reported this problem to Ross, he couldnt duplicate it - but it
happened to every app I had written on every system I tried (I have a
couple of Macs available, so I am pretty sure that my tests had nothing to
do with a specific setup).

Anyone else had this problem? Anyone with a suggestion or warning how else
it could be solved or what new problem might rise?

chris


  +----------------------------------------------------+
  | Chris Henkel -- software  development -- ChatWorks |
  | support & solutions for FirstClass Intranet server |
  +----------------------------------------------------+
  |   new>      mailto:chatworks@...      <new     |
  | http://ourworld.compuserve.com/homepages/chatworks |
  +----------------------------------------------------+