[futurebasic] FB bug under OS 8.5 (xDEF example)

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

From: "Edwards, Waverly" <WEdwards@...>
Date: Mon, 26 Oct 1998 11:29:47 -0500
From:	Greg_Neagle@... <mailto:Greg_Neagle@...> 
Subject:	FB bug under OS 8.5?

<snip>

Any ideas what might cause this or workarounds?
I've also tried this with my own custom LDEF; it looks like the LDEF is
never sent the _lHiliteMsg message, among other oddities.
<end snip>

When doing an LDEF make sure that you ALSO have a condition in your
_lDrawMsg otherwise you will miss the hilite.

LONG IF PEEK(@lselect%) <> 0
  'only the hi byte of the selection is significant
  CALL BITCLR(#_hiliteMode,0)
  Call INVERTRECT(listT)
END IF

Where listT is the rect to be hilited and lselect% is the paramater
passed in from the ENTERPROC to indicate whether the cell is selected or
not.


Check out my xDEF program on the STAZ site.  You can make an LDEF and a
few other xDEF's *without* having to make a code resource.   You are
also able to use the **entire** runtime environment inside of your LDEF.
It's a really rough example that I did for instructional purposes.
Complete documentation accompanies the example program.


W.