Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Richtextbox - prevent flicker of richtextbox during reposition


'this is more of a technique rather than code

'put richtextbox content in a hidden richtextbox
RichTextBoxHidden = RichTextBoxVisible

'then make all changes to the hidden richtextbox

'then put hidden content into visible box
RichTextBoxVisible = RichTextBoxHidden