-
Jul 23rd, 2017, 12:06 PM
#1
Thread Starter
Lively Member
-
Jul 23rd, 2017, 12:42 PM
#2
Re: Picture is not stable (hide/show) jumping
Not stable? Are you talking about flicker? If so, and BLP is a picturebox, try setting BLP.AutoRedraw=True.
If this does not resolve the problem, let us know what type of object BLP is.
-
Jul 23rd, 2017, 02:58 PM
#3
Re: Picture is not stable (hide/show) jumping
LoadPicture is executed each 500 ms, why you put that code inside Timer? As far as loaded picture depend on L1.Caption, it is better to put that code inside L1_Change event, by this way LoadPicture will executed only when L1.Caption change.
-
Jul 23rd, 2017, 04:14 PM
#4
Thread Starter
Lively Member
Re: Picture is not stable (hide/show) jumping
Originally Posted by LaVolpe
Not stable? Are you talking about flicker? If so, and BLP is a picturebox, try setting BLP.AutoRedraw=True.
If this does not resolve the problem, let us know what type of object BLP is.
Yes I mean flickering, BLP is (Image object) not PictureBox.
-
Jul 23rd, 2017, 04:33 PM
#5
Thread Starter
Lively Member
Re: Picture is not stable (hide/show) jumping
Originally Posted by 4x2y
LoadPicture is executed each 500 ms, why you put that code inside Timer? As far as loaded picture depend on L1.Caption, it is better to put that code inside L1_Change event, by this way LoadPicture will executed only when L1.Caption change.
Thank you 4x2y it is good and new idea for me. It resolved my problem
Sincerely
Mahmood Khaleel Pirani (Biologist)
#MKhP7
(Note:I'm not programmer, but it is my dream to learn programming)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|