Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6944
| From | "Jamal" <someone@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Problem with bBrowser and celledit |
| Date | 2014-06-10 09:29 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ln7183$ht2$1@speranza.aioe.org> (permalink) |
| References | <7b33862f-5533-4fb1-bd2d-eeb860d0e5e4@googlegroups.com> <18084cfc-d1b9-4c19-ac9c-3842c75d58b8@googlegroups.com> |
With issues like these, I suggest you email a full sample that produces the
issue to Joachim or post a link here.
Jamal
"Krystian Besler" wrote in message
news:18084cfc-d1b9-4c19-ac9c-3842c75d58b8@googlegroups.com...
W dniu sobota, 7 czerwca 2014 15:09:27 UTC+2 użytkownik Krystian napisał:
> Hi all,
>
>
>
> May somebody help me to understand why I can not update the field in bb;
>
> here is an example from postinit :
>
>
>
> suf_dt := Right(DToS(dt1), 4)
>
> pole := 'ZM_'+suf_dt
>
>
>
> // this solution works - actualize field of a data base
>
> //oCol := bDataColumn{SELF:oDCB_Browser, SELF:rcp_dane, pole, #field}
>
>
>
> // this solution does not work
>
> oCol := bDataColumn{SELF:oDCB_Browser, SELF:rcp_dane, {|Server, suf|
> _Pisz_zmiane(Server, suf)}, #Expression, suf_dt}
>
>
>
> oCol:ViewValueAs := #ComboBox
>
> oCol:ValueTransformList := xtab_combo
>
> oCol:AutoEdit := #Excel
>
> // oCol:EditStartFlags := BESF_PERMANENT
>
> oCol:Editable := TRUE
>
>
>
> SELF:oDCB_Browser:AddColumn(oCol)
>
> SELF:oDCB_Browser:OpenColumn(oCol, n)
>
> SELF:oDCB_Browser:ColumnList[n]:Caption := Transform(suf_cap, '@R
> 99-99')+crlf+xTab_skd[DoW(dt1)]
>
> SELF:oDCB_Browser:ColumnList[n]:Width := 65
>
> SELF:oDCB_Browser:ColumnList[n]:HyperLabel :=
> HyperLabel{String2Symbol(pole), pole}
>
>
>
> function _pisz_zmiane combines values of two fields from the same record.
>
>
>
> In a CellEdit method in the commit mode, I see for a short moment that the
> browser is updated with the new value choosed from a combo box (I use
> InfoBox), but finally the field in bb has the previous, old item. I do not
> know, which another method, apart from celledit, modifies the content of
> the bb.
>
>
>
> 2.
>
> Why, if I switch on the besf_permanent flag, an error appears after
> closing the window - bb tries to actualize the closed database ?
>
>
>
> Thanks for any suggestions
>
> Krystian
Hi Jamal,
Than you for your suggestion, but it is pity - it does not work. Program
still hangs on the exit from that window - and what is strange for me : with
the error message "Work area not in use" in bedit_end mode.
But it is not important - I do not understand and do not need the
functionality of flag besf_permanent and I switched it off.
For me, the key problem is described in point 1, because it decreases the
functionality of the browser/module.
Any helpful suggestion are welcome
Krystian
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem with bBrowser and celledit Krystian <softb@softb.pl> - 2014-06-07 06:09 -0700
Re: Problem with bBrowser and celledit "Jamal" <someone@example.com> - 2014-06-07 12:31 -0400
Re: Problem with bBrowser and celledit Krystian Besler <krystian.besler@gmail.com> - 2014-06-09 10:56 -0700
Re: Problem with bBrowser and celledit "Jamal" <someone@example.com> - 2014-06-10 09:29 -0400
csiph-web