Jump to content

Basic POS || PAP


Go to solution Solved by goncalo_miguel,

Recommended Posts

  • Solution
goncalo_miguel

Boa Tarde a todos, eu estou no ultimo ano de escolaridade e tenho que desenvolver um projeto final de ano(PAP), na minha PAP, estou com um problema na minha listview quando eu adiciono alguns itens, aparece automaticamente a scrollbar quando fico sem campo de visão, mas não anda automaticamente para baixo ao colocar um novo item.  

Tentei este código só que não resulta   

Private Sub ListView1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListView1.SelectedIndexChanged
        ListView1.Items(8).Selected = True
        ListView1.Select()
        ListView1.EnsureVisible(8)
    End Sub

 

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.