Jump to content

ListBox com outro Scroll Bar

Recommended Posts


Eu fiz uma lisbox sem a scroll bar normal do windows com a ajuda disto aqui (http://stackoverflow.com/questions/13169900/hide-vertical-scroll-bar-in-listbox-control)

Agora quero adicionar uma scroll bar sozinha, um controlo de scroll bar.

Só que estou com problemas a sincronizar a list box com esse controlo do scroll, essa barra devia controlar a lisbox.

Esse controlo da listbox sem as barras é igual ao outro só não desenha as barras sem eu pedir.

Tentei calcular a posição de cada um dos dois e tentar de alguma maneira sincronizar esse dois valores mas não funciona lá muito bem.

Edited by brunuu

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.