PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [wm20 - android] Looper in tab control  not refresh
[wm20 - android] Looper in tab control not refresh
Iniciado por guest, 26,feb. 2016 13:29 - 4 respuestas
Publicado el 26,febrero 2016 - 13:29
Hi,

I have problem with looper controls in tab control not showing latest data (not refresh)

all loopers value are manual added using LooperAddLine()

I have a window which contain
- 1 index looper (1 column) on plane 0 at left of the windows
- 1 tab control on plane 2 . inside contain 6 tab. on tab 3 and tab 4 , each contain 2 looper

when user press on index tab , i call local procedure to fill up loopers in tab 3 and tab 4

but when user swipe/press tab 3 , the looper still showing the contain of previous data. only when user press and move up and down then the looper data refresh.

i had tried looperdisplay() but no use. the data correctly added but somehow the screen not refresh

I can't use redraw() ( not available in android)

I have windows with alot looper but no such problem . only happen to the looper in the tab.

anyone encounter such problem ? any trick to force it refresh?
Publicado el 26,febrero 2016 - 15:14
Hi,

Is it a new looper?
Have you set up the Attributes of the Looper control?

http://help.windev.com/en-US/…
Publicado el 26,febrero 2016 - 16:46
Hi Darren,

I not using the pull and refresh option. I suspect it is bugs, i try to set panel 3 as active panel rather than panel 1.

as I suspect after that the looper refresh properly .

--Bugs---
1. when user click on index looper , I set panel 1 active panel
2. then call procedure refill loopers in panel 3 and panel 4 which at that time is inactive panel
3. when user navigate from panel 1 to panel 3 . the loopers in that panel not refresh

--Solution--
rather than call procedure refill when user click on index looper, i call the procedure at panel 3 ("modify the displayed panel of tab_main") . it work but of course not what I want , this cause the program to refill looper when user navigate to panel 3 rather than only once.
Publicado el 27,febrero 2016 - 09:38
Hi CCC2,
I am "fighting" - right now - with these kind of bug(s) in tables in WM 20/Android.
The problem is even "worst" with tables - it doesn't happen only with TABs but with hole windows.
I am thinking of chamging ALL my tables to loopers ....
Any other "bugs" with Loopers ?

Steven Sitas
Publicado el 27,febrero 2016 - 18:28
Quote
Steven Sitas

Hi CCC2,


I am "fighting" - right now - with these kind of bug(s) in tables in WM 20/Android.


The problem is even "worst" with tables - it doesn't happen only with TABs but with hole windows.


I am thinking of chamging ALL my tables to loopers ....


Any other "bugs" with Loopers ?





Steven Sitas

if i remember correctly , there is problem using checkbox in looper.