kazzx Posted November 30, 2009 at 11:39 PM Report Share #298172 Posted November 30, 2009 at 11:39 PM viva de novo, ora, em que evento tenho de programar e que código estará associado a esse mesmo evento, para se por exemplo, após uma pesquisa verificar que se não existir nenhum valor encontrado, um determinado botão ficar activo? ou seja, se pesquisar um nome, esse nome nao existe logo nao aparece na listview, eu quero que um botão que está desactivo passe a activo Link to comment Share on other sites More sharing options...
ribeiro55 Posted December 1, 2009 at 12:22 AM Report Share #298178 Posted December 1, 2009 at 12:22 AM Depois da consulta: If ListView.Items.Count=0 Then Button1.Enabled = True Sérgio Ribeiro "Great coders aren't born. They're compiled and released""Expert coders do not need a keyboard. They just throw magnets at the RAM chips" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now