Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4886

Re: Change from bBrowser 1.5 to bBrowser 4

From Joachim Bieler <support@votools.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Change from bBrowser 1.5 to bBrowser 4
Date 2013-03-07 20:12 +0100
Message-ID <aps75pF3c09U1@mid.individual.net> (permalink)
References <c0a8838a-9668-41e4-acc8-9b340e1e1675@googlegroups.com>

Show all headers | View raw


Sebastian,

you can replace your condition

     IF SELF:lSendCellEdit

with the following one.

     if _And(self:iCallbackMethods, BCOCM_CELLEDIT)>0

I have test your described issue but cannot see any problem with bBrowser 4 and VO 2.8 SP4. Maybe 
you should check whether your workaround is still necessary.

Regards,
Joachim Bieler




Am 06.03.2013 22:03, schrieb Wolverine:
> After change from bBrowser 1.5 to bBrowser 4 we have a problem with this method:
>
> METHOD CellEdit(iMode AS INT) AS LOGIC PASCAL CLASS MybBrowser
>
> 	LOCAL cText:= NULL_STRING AS STRING
>
> 	IF SELF:lSendCellEdit
> 		IF (iMode == BEDIT_END)
> 		   SELF:oEdit:__Update()
>    			IF !IsNil(SELF:oEdit:FieldSpec) .AND. (SELF:oEdit:FieldSpec:ValType == "N")
> 				cText:= StrTran(AllTrim(SELF:oEdit:TextValue), Chr(SetThousandSep()), NULL_STRING)
> 				SELF:oEdit:Value:= Val(cText)
> 			ENDIF
> 		ENDIF
> 	ENDIF
>
> 	RETURN SUPER:CellEdit(iMode)
>
> The lSendCellEdit does not exist anymore.
> We use this method because we have problems with columns that have FieldSpec attached (i.e.  with picture "999,999,999.99"). When we edit a value; first, a large value 100000000 and then change to 1200 and press Enter 1200 is 1,200.00 and because the comma is a illegal value. With this method we delete the commas.
> Maybe we have wrong code but we need to fix this. Can anybody help us?
> Thanks.
>
> Sebastián

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Change from bBrowser 1.5 to bBrowser 4 Wolverine <ccyasa.sbassano@gmail.com> - 2013-03-06 13:03 -0800
  Re: Change from bBrowser 1.5 to bBrowser 4 "richard.townsendrose" <richard.townsendrose@gmail.com> - 2013-03-07 02:24 -0800
  Re: Change from bBrowser 1.5 to bBrowser 4 Joachim Bieler <support@votools.com> - 2013-03-07 20:12 +0100
    Re: Change from bBrowser 1.5 to bBrowser 4 ccyasa.sbassano@gmail.com - 2013-03-13 05:07 -0700

csiph-web