[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableView Save Event Issue


Lee, thanks for posting the example project file.  I tried it and it works
exactly like I was trying to achieve.  I appreciate it.

Bruce, yes I have a TableView1_Save event subroutine like the one in your
last email.  I believe the issue is when you click in another tableview the
save event is not sent for the location that was being edited in the
previous tableview.  When you click back into the first tableview the save
event is sent.

Thanks Bruce and Lee for your help.

On Sat, Jun 21, 2025 at 11:27 AM Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> It worked okay for me.
>
> Have you also made the TableView Save events update the data?
>
> Public Sub TableView1_Save(r as integer, c as integer, value as variant)
>
>  Last[r, c].Text = Value
>
> End
>
> BriceS
>
> On Sat, 21 Jun 2025, 13:02 Greg Raffaelle, <greg.raffaelle@xxxxxxxxx>
> wrote:
>
>> Thanks Bruce for your suggestion.  I have tried it but as far as I can
>> tell it makes no difference in the behavior as I described in my previous
>> email.   It seems that you can't go and click in the second tableview
>> directly and save the last edit in the first table.  The user has to hit
>> the return key on the last edit before clicking in another tableview.
>>
>> On Fri, Jun 20, 2025 at 6:25 AM Lee <t.lee.davidson@xxxxxxxxx> wrote:
>>
>>> On 6/20/25 4:08 AM, Bruce Steers wrote:
>>> > OMG its too early lol.
>>> >
>>> > fixed another typo (using End instead of Endif, sorry)
>>>
>>> At least your ideas were right on track, even if your fingers weren't.
>>> :-D
>>>
>>>
>>> --
>>> Lee
>>>
>>> --- Gambas User List Netiquette [
>>> https://gambaswiki.org/wiki/doc/netiquette] ----
>>> --- Gambas User List Archive [
>>> https://lists.gambas-basic.org/archive/user] ----
>>>
>>>
>>>

References:
TableView Save Event IssueGreg Raffaelle <greg.raffaelle@xxxxxxxxx>
Re: TableView Save Event IssueBruce Steers <bsteers4@xxxxxxxxx>
Re: TableView Save Event IssueBruce Steers <bsteers4@xxxxxxxxx>
Re: TableView Save Event IssueBruce Steers <bsteers4@xxxxxxxxx>
Re: TableView Save Event IssueLee <t.lee.davidson@xxxxxxxxx>
Re: TableView Save Event IssueGreg Raffaelle <greg.raffaelle@xxxxxxxxx>
Re: TableView Save Event IssueBruce Steers <bsteers4@xxxxxxxxx>