Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6936
| From | "Jamal" <someone@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Problem with bBrowser and celledit |
| Date | 2014-06-07 12:31 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <lmveo5$7la$1@speranza.aioe.org> (permalink) |
| References | <7b33862f-5533-4fb1-bd2d-eeb860d0e5e4@googlegroups.com> |
Krystian,
>> I do not know, which another method, apart from celledit, modifies the
>> content of the bb. <<
IF oCellEditEvent:EditMode == BEDIT_COMMIT
oCellEditEvent:Control:Refresh() // bBrowser
ENDIF
Jamal
"Krystian" wrote in message
news:7b33862f-5533-4fb1-bd2d-eeb860d0e5e4@googlegroups.com...
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
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next 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