Reduce flickering fields in toolbar

General discussion forum about all things Team Developer 6.x
H3PO4
Germany
Posts: 30
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Reduce flickering fields in toolbar

Post by H3PO4 » 26 Apr 2017, 14:47

Hi,

the attached demo (TD 6.2) shows how to use LockWindowUpdate to reduce flickering in toolbar fields during content update.

I would be glad, if someone could show how to use it within a normal form window (not inside the toolbar)...

Regards
Henning

P.S.: My configuration at this time is Windows 7 64 bit with TD 6.2 SP1, haven't done testing with other configurations. I will have a look at Win 8.1 this weekend :!:
You do not have the required permissions to view the files attached to this post.
Last edited by H3PO4 on 27 Apr 2017, 06:57, edited 1 time in total.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 123
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Reduce flickering fields in toolbar

Post by Jeff Luther » 26 Apr 2017, 16:10

Hi, Henning:

FYI to all, here is the description for WIN API LockWindowUpdate(): https://msdn.microsoft.com/en-us/librar ... s.85).aspx

I ran your test app in v6.2 but am not sure I am seeing what you are: I don't get any change in the updating of the time field in the toolbar with either RB clicked. I never see a flicker. I'm running 64-bit Win v8.1. Perhaps the OS version is part of the issue?

Do you see a flicker when the Autotime CB is checked and the field is updated every second? I don't. Kindly clarify.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

EwaldP
Austria
Posts: 57
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: Reduce flickering fields in toolbar

Post by EwaldP » 27 Apr 2017, 06:21

Hi Henning,

I don't know if I overlook anything, but behind the Radio buttons there are no actions defined. No function call from LockWindowUpdate?

Regards
Ewald
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

H3PO4
Germany
Posts: 30
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: Reduce flickering fields in toolbar

Post by H3PO4 » 27 Apr 2017, 06:53

Hi Jeff, Hi Ewald,

@Jeff: yes I can see a flicker with rbWithoutLockWindowUpdate checked, the time is flickerless updated while rbWithLockWindowUpdate checked.
@Ewald: You can see the 'action' within the SAM_Timer section of cb1, where I differ the behaviour.

Regards
Henning

EwaldP
Austria
Posts: 57
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: Reduce flickering fields in toolbar

Post by EwaldP » 27 Apr 2017, 09:26

Hi Henning,

I see, but I can't see a flicker. Win7 Enterprise 64 bit.
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 400
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Reduce flickering fields in toolbar

Post by Dave Rabelink » 27 Apr 2017, 12:09

Me neither.
I do not see flickers.
I'm running Win10 64bit.

Could you check which TD theme you are using?
Also the WIndows theme? is it Aero/Glass?
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

H3PO4
Germany
Posts: 30
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: Reduce flickering fields in toolbar

Post by H3PO4 » 27 Apr 2017, 13:10

Hi Dave,

I wanted to add that before but the server refused me :-(...

At the customer I am working for, Windows 7 Enterprise 64bit is used.

Windows Theme is Windows 7-Basic (not classic).

TD is always on Native Theme...

Regards
Henning

EwaldP
Austria
Posts: 57
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: Reduce flickering fields in toolbar

Post by EwaldP » 27 Apr 2017, 14:54

Hi Henning,

fyi, I've tried it under TD 6.3 on Win7 Enterprise 64bit, no flicker.
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

Return to “General Discussion”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests