Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6686

Re: "Jumping" tab control

From "Jamal" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: "Jumping" tab control
Date 2014-03-19 11:44 -0400
Organization Aioe.org NNTP Server
Message-ID <lgce0v$fov$1@speranza.aioe.org> (permalink)
References <2860ada9-348c-4a38-97d1-413b2e1cb10e@googlegroups.com>

Show all headers | View raw


Here is a sample of what you need to handle Previous record button.

METHOD PrevRecButton( ) CLASS MyWin
IF !SELF:Server:BOF

    IF SELF:Server:RLOCK()
        SELF:Server:Skip(-1)

    //    SELF:ScatterTabPages() // write code to assign values from data 
table to windows controls.

        SELF:Show()   // show the window
     ENDIF
ENDIF

RETURN SELF

You do not need an Expose() or SelectTab().

Jamal

"Krystian Besler"  wrote in message 
news:2860ada9-348c-4a38-97d1-413b2e1cb10e@googlegroups.com...

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 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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