Use listview to enable button?

friends i need you help.
In this block i want to enable a button when a listview element is selected however after selection the button is still disable. any help.

Test to see if any of the three items in your "or" statement actually equal "true"

a listview selection property never will be true or false, it will be the value selected from the listview

use a global variable and set it to true in the 3 Listview.AfterPicking events
then in your timer event check that global variable

Taifun

i have test all the three items and the result are the same the button is still disable

What are your three selections, as @Taifun said, none of them are likely to equal true...

What is the value of SelectionIndex if nothing has been selected yet?

i try this option and it works thank you guys

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.