[futurebasic] Re: [FB] Edit field problems

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2006 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Wed, 31 May 2006 20:17:49 -0700
On May 31, 2006, at 6:47 PM, Joe Lertola wrote:

> Also I get a _cursOver event when the cursor enters the edit field,  
> but not when it leaves so I am not able to change the cursor from  
> the ibeam back to an arrow.


Here is a short excerpt that works fine with non-static appearance  
button edit (unicode or otherwise) fields to change the cursor. If it  
is over one of the edit fields listed (which are all non-static--- 
i.e. editable) the cursor changes to an iBeam otherwise it changes to  
a pointing hand. You will need to adjust for specific needs.

Brian S.

case _cursOverBtn
select reference'reference is button id
case _SunSummary,_MonSummary,_TueSummary,¬
_DayNotesText,_targetStrForSearch,_scrollView'list of  non-static  
edit text fields
cursor _kThemeIBeamCursor,_themeCursorStatic
case else
cursor _kThemePointingHandCursor,_themeCursorStatic
end select