[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TableView Save Event Issue
[Thread Prev] | [Thread Next]
- Subject: Re: TableView Save Event Issue
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Fri, 20 Jun 2025 09:08:04 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
OMG its too early lol.
fixed another typo (using End instead of Endif, sorry)
Public Sub TableView1_LostFocus()
If Last.Editor Then
Last.Save ' raise save event
Last.Cancel ' close the editing
Endif
End
Public Sub TableView2_LostFocus()
If Last.Editor Then
Last.Save
Last.Cancel
Endif
End
On Fri, 20 Jun 2025 at 09:05, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
>
>
> On Fri, 20 Jun 2025 at 09:03, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
>
>>
>>
>> On Fri, 20 Jun 2025 at 03:53, Greg Raffaelle <greg.raffaelle@xxxxxxxxx>
>> wrote:
>>
>>> I am having an issue with not receiving a TableView1_Save() event. I
>>> have a TabPanel with two separate table views in the same panel. In either
>>> table, if you click on a cell, edit the cell contents, and then click in
>>> another cell of the same table a TableView1_Save() event is sent. However
>>> if you click on a cell in the first table view, edit the cell, and then
>>> click on a cell in the second table view, the first table view does not
>>> receive a TableView1_Save() event promptly. It is not until you click back
>>> in a cell of the first table that it sends the TableView1_Save() event for
>>> the last edited cell in the first table view. I need the edits to be saved
>>> in the first table when the user starts editing a cell in the second table
>>> and vice versa. Any ideas or work arounds would be appreciated.
>>>
>>
>> Maybe the LostFocus event?
>> something like this might work.
>>
>
>
| Re: TableView Save Event Issue | Lee <t.lee.davidson@xxxxxxxxx> |
| TableView Save Event Issue | Greg Raffaelle <greg.raffaelle@xxxxxxxxx> |
| Re: TableView Save Event Issue | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: TableView Save Event Issue | Bruce Steers <bsteers4@xxxxxxxxx> |