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

Gianluigi bagonergi at gmail.com
Fri Apr 24 14:58:17 CEST 2020


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

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


More information about the User mailing list