[futurebasic] Re: [FB] ButtonTextString Error/ Adding text to a edit field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Sat, 26 Jul 2008 20:44:45 -0700
On Jul 26, 2008, at 5:37 AM, Brian Heibert wrote:

> <Picture 6.png>
>
> I have this
>
> case _c11Bev
> FN addCharToMessage ("1")
>
> and it produces that error message above
>
> here is the code in the FN addCharToMessage
>
> LOCAL FN addCharToMessage ( char$ )
> 	stx$ = FN ButtonTextString$(_c11Bev)
> 	stx$ = stx$+ char$
> 	DEF SetButtonTextString (_speaktxt,char$)
> END FN
>
> and yes even though the case is _c11Bev I want the text that goes in  
> the edit field to be 1
>
> What can be done to fix this?
>
> Brian
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...


fn ButtonTextString$ specifically looks for a control of  
(  _kControlEditTextPart, _kControlEditTextTextTag ). Is _c11Bev and  
edit field? The error message (-30581) essentially says the control  
passed to it doesn't support the tag.


Brian S.