Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9800 > unrolled thread
| Started by | rkaplan328 <richard.d.kaplan@gmail.com> |
|---|---|
| First post | 2016-10-12 19:46 -0700 |
| Last post | 2016-10-26 07:15 +0200 |
| Articles | 10 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
CellEdit quirk rkaplan328 <richard.d.kaplan@gmail.com> - 2016-10-12 19:46 -0700
Re: CellEdit quirk "Jamal" <noooospam@example.com> - 2016-10-13 12:48 -0400
Re: CellEdit quirk "Gerhard Bunzel" <g.bunzel@domonet.de> - 2016-10-14 02:19 +0200
Re: CellEdit quirk rkaplan328 <richard.d.kaplan@gmail.com> - 2016-10-14 22:06 -0700
Re: CellEdit quirk "Jamal" <noooospam@example.com> - 2016-10-15 15:38 -0400
Re: CellEdit quirk rkaplan328 <richard.d.kaplan@gmail.com> - 2016-10-18 05:56 -0700
Re: CellEdit quirk "Jamal" <noooospam@example.com> - 2016-10-19 15:52 -0400
Re: CellEdit quirk "Jamal" <noooospam@example.com> - 2016-10-19 18:25 -0400
Re: CellEdit quirk rkaplan328 <richard.d.kaplan@gmail.com> - 2016-10-21 10:26 -0700
Re: CellEdit quirk Joachim Bieler <support@votools.com> - 2016-10-26 07:15 +0200
| From | rkaplan328 <richard.d.kaplan@gmail.com> |
|---|---|
| Date | 2016-10-12 19:46 -0700 |
| Subject | CellEdit quirk |
| Message-ID | <291c6e32-c7d9-4411-8586-8968d9ac0c8c@googlegroups.com> |
I am using bBrowser 4.0 and VO 2.8. In my browser I have multiple computed columns. When I enter text into any of them and then tab out of the cell, CellEdit is activated properly with oCellEditEvent:EditMode=BEDIT_END and the data field is updated properly if oCellEditEvent:EditCell:Row > 1. However, if I am editing a cell on the first row, the update of the first row does not take place until I edit data in the 2nd or later row, or move the cursor first to the cell below the one I have been editing, and then click on the cell just edited. Does anyone have an idea of what might be causing this odd behavior?
[toc] | [next] | [standalone]
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Date | 2016-10-13 12:48 -0400 |
| Message-ID | <ntodtj$p6$1@news.albasani.net> |
| In reply to | #9800 |
You may need to issue a bYourBrowserControl:Refresh() on BEDIT_END. Jamal "rkaplan328" wrote in message news:291c6e32-c7d9-4411-8586-8968d9ac0c8c@googlegroups.com... I am using bBrowser 4.0 and VO 2.8. In my browser I have multiple computed columns. When I enter text into any of them and then tab out of the cell, CellEdit is activated properly with oCellEditEvent:EditMode=BEDIT_END and the data field is updated properly if oCellEditEvent:EditCell:Row > 1. However, if I am editing a cell on the first row, the update of the first row does not take place until I edit data in the 2nd or later row, or move the cursor first to the cell below the one I have been editing, and then click on the cell just edited. Does anyone have an idea of what might be causing this odd behavior?
[toc] | [prev] | [next] | [standalone]
| From | "Gerhard Bunzel" <g.bunzel@domonet.de> |
|---|---|
| Date | 2016-10-14 02:19 +0200 |
| Message-ID | <ntp8a8$ron$1@news-1.m-online.net> |
| In reply to | #9800 |
rkaplan328,
....do you :Commit() inside your CellEdit?
ELSEIF oCellEditEvent:EditMode == BEDIT_COMMIT
SELF:oDCbBrowser:Server:Commit()
From bBrowser CellEdit-Help:
BEDIT_COMMIT
Die Eingabe wurde gespeichert. Ein Commit wurde nicht automatisch vom
bBrowser durchgeführt. Der Modus kann verwendet werden, um selbst ein Commit
auszuführen.
HTH
Gerhard Bunzel
"rkaplan328" schrieb im Newsbeitrag
news:291c6e32-c7d9-4411-8586-8968d9ac0c8c@googlegroups.com...
I am using bBrowser 4.0 and VO 2.8. In my browser I have multiple computed
columns. When I enter text into any of them and then tab out of the cell,
CellEdit is activated properly with oCellEditEvent:EditMode=BEDIT_END and
the data field is updated properly if oCellEditEvent:EditCell:Row > 1.
However, if I am editing a cell on the first row, the update of the first
row does not take place until I edit data in the 2nd or later row, or move
the cursor first to the cell below the one I have been editing, and then
click on the cell just edited. Does anyone have an idea of what might be
causing this odd behavior?
[toc] | [prev] | [next] | [standalone]
| From | rkaplan328 <richard.d.kaplan@gmail.com> |
|---|---|
| Date | 2016-10-14 22:06 -0700 |
| Message-ID | <04c04b7d-b67d-40ce-ac0a-f483afa83aca@googlegroups.com> |
| In reply to | #9800 |
Unfortunately for the hope of a simple solution, I'm already executing both a Refresh and a Commit where suggested. The problem is that the top row of the browser is not refreshing immediately, as the later rows do. Once I perform some activity on a later row and then click again on the edited cell on the top row, the refresh occurs. Any other theories?
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Date | 2016-10-15 15:38 -0400 |
| Message-ID | <ntu0ji$f85$1@news.albasani.net> |
| In reply to | #9808 |
If you have a simple AEF test example that shows the issue, I'd be happy to look at. vodotnet -NOSPAM @ NOSPAM- gmail.com Remove the obvious. Jamal "rkaplan328" wrote in message news:04c04b7d-b67d-40ce-ac0a-f483afa83aca@googlegroups.com... Unfortunately for the hope of a simple solution, I'm already executing both a Refresh and a Commit where suggested. The problem is that the top row of the browser is not refreshing immediately, as the later rows do. Once I perform some activity on a later row and then click again on the edited cell on the top row, the refresh occurs. Any other theories?
[toc] | [prev] | [next] | [standalone]
| From | rkaplan328 <richard.d.kaplan@gmail.com> |
|---|---|
| Date | 2016-10-18 05:56 -0700 |
| Message-ID | <e06d4a87-2816-4aa5-8219-67ae003ef741@googlegroups.com> |
| In reply to | #9811 |
Thanks, I emailed the AEF to you a few minutes ago.
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Date | 2016-10-19 15:52 -0400 |
| Message-ID | <nu8it5$ah1$1@news.albasani.net> |
| In reply to | #9820 |
Got it. The AEF was missing a few Return Self statements and had overflow warnings. The drop down does not working correctly in the bBrowser. Multiple clicks are needed. I'll look at further in a couple of days. Jamal "rkaplan328" wrote in message news:e06d4a87-2816-4aa5-8219-67ae003ef741@googlegroups.com... Thanks, I emailed the AEF to you a few minutes ago.
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Date | 2016-10-19 18:25 -0400 |
| Message-ID | <nu8rsn$lie$1@news.albasani.net> |
| In reply to | #9826 |
Oops! Correction: The drop down does not "work" correctly in the bBrowser. Multiple clicks are needed. I'll look at further in a couple of days. "Jamal" wrote in message news:nu8it5$ah1$1@news.albasani.net... Got it. The AEF was missing a few Return Self statements and had overflow warnings. The drop down does not working correctly in the bBrowser. Multiple clicks are needed. I'll look at further in a couple of days. Jamal "rkaplan328" wrote in message news:e06d4a87-2816-4aa5-8219-67ae003ef741@googlegroups.com... Thanks, I emailed the AEF to you a few minutes ago.
[toc] | [prev] | [next] | [standalone]
| From | rkaplan328 <richard.d.kaplan@gmail.com> |
|---|---|
| Date | 2016-10-21 10:26 -0700 |
| Message-ID | <e8f3e6eb-b7e6-4876-a403-3b71650e9c60@googlegroups.com> |
| In reply to | #9829 |
I find that if I force server movement after editing the top row, e.g. by inserting a branch such as
elseif oCellEditEvent:EditMode=BEDIT_COMMIT
if oCellEditEvent:EditCell:Row = 1
self:oDCbBrowser1:server:GoBottom()
self:oDCbBrowser1:server:GoTop()
endif
into my CellEdit routine, the problem goes away. But it does not explain why the first row is handled differently from any of the others!
Incidentally, the problem applies only to the top row of the server, not of the browser ... scroll the browse down a few rows and the top DISPLAYED row works fine.
[toc] | [prev] | [next] | [standalone]
| From | Joachim Bieler <support@votools.com> |
|---|---|
| Date | 2016-10-26 07:15 +0200 |
| Message-ID | <e7asetFpj6kU1@mid.individual.net> |
| In reply to | #9842 |
Richard, please check your private mail. Regards, Joachim Bieler Am 21.10.2016 um 19:26 schrieb rkaplan328: > I find that if I force server movement after editing the top row, e.g. by inserting a branch such as > > elseif oCellEditEvent:EditMode=BEDIT_COMMIT > if oCellEditEvent:EditCell:Row = 1 > self:oDCbBrowser1:server:GoBottom() > self:oDCbBrowser1:server:GoTop() > endif > > > into my CellEdit routine, the problem goes away. But it does not explain why the first row is handled differently from any of the others! > > Incidentally, the problem applies only to the top row of the server, not of the browser ... scroll the browse down a few rows and the top DISPLAYED row works fine.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web