Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6684
| Subject | Re: "Jumping" tab control |
|---|---|
| From | Camille Kater <katercam@pt.lu> |
| Date | Wed, 19 Mar 2014 13:08:05 +0100 |
| Message-ID | <1395231715_3@vo.lu> (permalink) |
| References | <2860ada9-348c-4a38-97d1-413b2e1cb10e@googlegroups.com> <d3220d8f-caca-47e7-abc1-b43494788296@googlegroups.com> |
| Lines | 72 |
| NNTP-Posting-Host | 188.115.5.121 |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!texta.sil.at!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail |
| Newsgroups | comp.lang.clipper.visual-objects |
| X-Trace | vo.lu 1395231715 188.115.5.121 (19 Mar 2014 13:21:55 0100) |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
| MIME-Version | 1.0 |
| In-Reply-To | <d3220d8f-caca-47e7-abc1-b43494788296@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Antivirus | avast! (VPS 140319-0, 19/03/2014), Outbound message |
| X-Antivirus-Status | Clean |
| Xref | csiph.com comp.lang.clipper.visual-objects:6684 |
Show key headers only | View raw
Hi,
I would try to avoid the expose() method for these things, as the
expose() method gets called several times. Maybe transferring it in a
postinit() method could avoid these "blinkings."
Camille
On 19/03/2014 10:14, Krystian Besler wrote:
> On Wednesday, March 19, 2014 12:19:49 AM UTC+1, Krystian Besler wrote:
>> Hi,
>>
>>
>>
>> I ask for help.
>>
>> I have a data window with some pages of a tab control and some buttons; one of them are the prev and next buttons to navigate up and down through the database.
>>
>> In the expose method I put the algorithm of retrieving data, and in prev/next buttons I must use SelectTab(#current tab) method, to force refreshing of the window. Now after pressing the button, the contents of the window "jumps" for a second. How to make the process more smooth or how to freeze the screen for the moment of changing the content ?
>>
>>
>>
>> Thanks for suggestion
>>
>> Krystian
>
> Hi Camille,
>
> Thank you for answer, but unfortunately, things go from bad to worse.
> I put the code in expose method :
> IF SELF:oParent:Ini_expose1
> ret := LockWindowUpdate( SELF:handle() )
>
> SELF:oParent:Ini_expose1 := FALSE
> SELF:oParent:Akt_page := #Ko_1
>
> FOR i := Len(SELF:tab_pol) DOWNTO 1
> baza := SELF:tab_pol[i, 2]
> poleform := String2Symbol('oDC'+SELF:tab_pol[i, 1])
>
> IF SELF:xjaka_akcja = 'P' .OR. SELF:wypelnianie
> IVarGetSelf(SELF, poleform):value := baza:FIELDGET(SELF:tab_pol[i, 1])
> ELSE
> IVarGetSelf(SELF, poleform):value := SELF:tab_pol[i, 3]
> ENDIF
> NEXT
>
> LockWindowUpdate( NULL_PTR )
> ENDIF
>
> The window still blinks and - what is new, i loose colors on the form and the underlaying browser start to blink/jump for a moment.
>
> Thanks for your advice - i get to know a new function/group of functions, but i ask for another suggestion.
>
> Regards
> Krystian
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"Jumping" tab control Krystian Besler <krystian.besler@gmail.com> - 2014-03-18 16:19 -0700
Re: "Jumping" tab control Camille Kater <katercam@pt.lu> - 2014-03-19 08:18 +0100
Re: "Jumping" tab control Krystian Besler <krystian.besler@gmail.com> - 2014-03-19 02:14 -0700
Re: "Jumping" tab control Camille Kater <katercam@pt.lu> - 2014-03-19 13:08 +0100
Re: "Jumping" tab control Krystian Besler <krystian.besler@gmail.com> - 2014-03-19 07:02 -0700
Re: "Jumping" tab control "Jamal" <someone@example.com> - 2014-03-19 11:44 -0400
Re: "Jumping" tab control Krystian Besler <krystian.besler@gmail.com> - 2014-03-19 09:08 -0700
Re: "Jumping" tab control Steve E <steven_emmett@yahoo.co.uk> - 2014-03-20 00:19 -0700
csiph-web