[Gambas-user] How to listen Select event on a DataView?

Gianluigi bagonergi at gmail.com
Fri Apr 24 15:15:10 CEST 2020


Il giorno ven 24 apr 2020 alle ore 14:58 Gianluigi <bagonergi at gmail.com> ha
scritto:

>
>
> Il giorno ven 24 apr 2020 alle ore 07:19 Yeshua Rodas <yrodas at upnfm.edu.hn>
> ha scritto:
>
>> Hello folks.
>>
>> The TableView has a Select event that is raised when the selection
>> changes.
>>
>> The DataView implements a TableView, however do not implement the Select
>> Event.
>>
>> How can I add a method to be called when the Select Event of the
>> TableView of the DataView rises?
>>
>> Thank you.
>>
>
> You answered yourself, try this:
>
>   Dim hView As TableView
>
>   hView = DataView1.Children[0]
>   hView.SelectAll
>

Sorry I misunderstood, I thought you wanted to select

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200424/7ff0a9b7/attachment.html>


More information about the User mailing list