Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4886
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Joachim Bieler <support@votools.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Change from bBrowser 1.5 to bBrowser 4 |
| Date | Thu, 07 Mar 2013 20:12:58 +0100 |
| Lines | 45 |
| Message-ID | <aps75pF3c09U1@mid.individual.net> (permalink) |
| References | <c0a8838a-9668-41e4-acc8-9b340e1e1675@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net i+B2AyrNw+BrplXtL7k0tQxPQHfinaVsHHUm7nNlY864mtoXgQa+Eg1ZvurtvHL4a8 |
| Cancel-Lock | sha1:Y11f0ol6UDcZ8pFoWV0eOzL2k2w= |
| User-Agent | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
| In-Reply-To | <c0a8838a-9668-41e4-acc8-9b340e1e1675@googlegroups.com> |
| Xref | csiph.com comp.lang.clipper.visual-objects:4886 |
Show key headers only | 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
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