Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / November 2006

Tip: Looking for answers? Try searching our database.

Form Flickering so badllly in vb .net , plzzzzzzzzz help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sajin - 07 Nov 2006 11:19 GMT
Hi All...

I designed a form ( say Frm2) which contains arround 40 labels , 3
panels, 20 textboxes
I call this form from another form( say Frm1) , i have a button in Frm1
which calls the Frm2 on click event , the form (Frm2) is flickering so
badly , i tried many ways to resolve this issue , but the same problem
exists

What i tried was as follows

1. Double Buffering
2. ResumeLayout
3.Show and Hide form
4.Used the LockWindowUpdate API

Plzzzz Help
i am using VS 2005 vb .net

Thanks in advance
Sajin
Stuart Nathan - 07 Nov 2006 12:01 GMT
Do your panels and labels have a transparent background colour?
sajin - 07 Nov 2006 13:08 GMT
We have controls on panel , and all labels are having transparent
background colour

> Do your panels and labels have a transparent background colour?
Stuart Nathan - 07 Nov 2006 17:49 GMT
Redrawing trnsparent backgrounds is quite complicated for windows because it
has to copy the background etc. I have the same problem.
sajin - 08 Nov 2006 12:56 GMT
can you plz explain how can i use that control
Thanks
Sajin
> Redrawing trnsparent backgrounds is quite complicated for windows because it
> has to copy the background etc. I have the same problem.
Stoitcho Goutsev (100) - 07 Nov 2006 14:48 GMT
sajin,

Use grid control instead of many labels and textboxes.

Signature

HTH
Stoitcho Goutsev (100)

> Hi All...
>
[quoted text clipped - 17 lines]
> Thanks in advance
> Sajin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.