B4J Question CustomListView placed on Pane - Click event consumed by pane

Josias

Member
Licensed User
Longtime User
THnx Erel. This is the exact example that I am using. The only change iI made was that I've added a pane in the designer. The CLV is drawn on top of the pane.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
THnx Erel. This is the exact example that I am using. The only change iI made was that I've added a pane in the designer. The CLV is drawn on top of the pane.

Your problem was due to the fact you declared ... clv As CustomListView.
But the clv click even sub was named. .... clv1_Click
 
Upvote 0

Josias

Member
Licensed User
Longtime User
Thnx mangojack. I just found it myself. I appreciate the feedback.
As a note, the application works fine when clv1_Click is renamed to clv_click.
For future reference. This is an example of putting a custom list view on a pane.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…