• double click

    From aurora baccio@21:1/5 to All on Fri Jun 4 23:38:51 2021
    Good morning,
    I know this is a stupid request, but I don't know how to do it.
    In a datadialog I have a subdatawindows with a list of names.
    In the upper part of the datadialog I have created a singleEdit.
    With Double Click I would like to select a record from the subData and transfer it to the singleEdit and then do a search.
    I don't know how to do this.
    Thanks for the help.
    Aurora Baccio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JohnMartens@21:1/5 to All on Sat Jun 5 13:06:18 2021
    Sorry. No SUPER:CopySubdataInfo(CInfoFromSub) but SELF:OWNER:CopySubdataInfo(CInfoFromSub)


    Op 5-6-2021 om 13:04 schreef JohnMartens:
    Should work if the datadialog has a methed like CopySubdataInfo(cInfo as STRING)

    Can you catch the mouse double click in the sub-data window ?
    Then call from this sub-data window cathc
    SUPER:CopySubdataInfo(CInfoFromSub)

    John


    Op 5-6-2021 om 08:38 schreef aurora baccio:
    Good morning,
    I know this is a stupid request, but I don't know how to do it.
    In a datadialog I have a subdatawindows with a list of names.
    In the upper part of the datadialog I have created a singleEdit.
    With Double Click I would like to select a record from the subData and
    transfer it to the singleEdit and then do a search.
    I don't know how to do this.
    Thanks for the help.
    Aurora Baccio


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JohnMartens@21:1/5 to All on Sat Jun 5 13:04:19 2021
    Should work if the datadialog has a methed like CopySubdataInfo(cInfo as STRING)

    Can you catch the mouse double click in the sub-data window ?
    Then call from this sub-data window cathc
    SUPER:CopySubdataInfo(CInfoFromSub)

    John


    Op 5-6-2021 om 08:38 schreef aurora baccio:
    Good morning,
    I know this is a stupid request, but I don't know how to do it.
    In a datadialog I have a subdatawindows with a list of names.
    In the upper part of the datadialog I have created a singleEdit.
    With Double Click I would like to select a record from the subData and transfer it to the singleEdit and then do a search.
    I don't know how to do this.
    Thanks for the help.
    Aurora Baccio


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Franz Rachbauer@21:1/5 to All on Mon Jun 7 09:16:00 2021
    You have several methods to do mouse double click:
    - if your data is in a listview
    use window:ListViewMouseButtonDoubleClick() Method
    - if your data is in a databrowser
    use DataBrowser:CellDoubleClick() Method
    Regards, Franz

    Am 05.06.2021 um 08:38 schrieb aurora baccio:
    Good morning,
    I know this is a stupid request, but I don't know how to do it.
    In a datadialog I have a subdatawindows with a list of names.
    In the upper part of the datadialog I have created a singleEdit.
    With Double Click I would like to select a record from the subData and transfer it to the singleEdit and then do a search.
    I don't know how to do this.
    Thanks for the help.
    Aurora Baccio


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)