Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

pbreda

Controls & Autocomplete

Recommended Posts

pbreda

Isso eu sei o problema é que queria fazer uma coisa semelhante ao que o firefox faz e não estou a conseguir......

Comprimentos.....


Qualquer coisa esfrega a lampada!!!Visite Banco de Software e desfrute do software disponível xD

Share this post


Link to post
Share on other sites
Joca

Explica com imagens (há quem ainda use Internet Explorer e, não firefox...).

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        TextBox2.Text = "Portugal a programar!"


        With TextBox1
            .AutoCompleteCustomSource.Add(TextBox2.Text.ToString)
            .AutoCompleteMode = AutoCompleteMode.SuggestAppend
            .AutoCompleteSource = AutoCompleteSource.CustomSource
        End With

    End Sub

Penso que algo deste género serve. O que falta?

Share this post


Link to post
Share on other sites
jpaulino

Explica com imagens (há quem ainda use Internet Explorer e, não firefox...).

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        TextBox2.Text = "Portugal a programar!"


        With TextBox1
            .AutoCompleteCustomSource.Add(TextBox2.Text.ToString)
            .AutoCompleteMode = AutoCompleteMode.SuggestAppend
            .AutoCompleteSource = AutoCompleteSource.CustomSource
        End With

    End Sub

Penso que algo deste género serve. O que falta?

Resolveu o teu problema ?

Share this post


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

×

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.