PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD21] process for adding additional elements at the end of scroll
[WD21] process for adding additional elements at the end of scroll
Iniciado por guest, 13,jun. 2016 14:28 - 10 respuestas
Publicado el 13,junio 2016 - 14:28
Hi all,

I'm trying to look if the new infinite tables have any use for us.
But I don't even get it to work, the documentation is minimal and no real examples are given.

According to the documenation
Quote
help.windev.com

In the "Content" tab, in the "Infinite table"/"Infinite looper" section:

Check "Call the process for adding additional elements at the end of scroll".

and
Quote
help.windev.com

Adding additional elements" process

The "Adding additional elements" process must contain the code for refreshing data in the control. By default, the internal wait window is displayed while running this process. At the end of code execution, the internal wait window will be automatically hidden.

But what, where and how the "adding additional elements" is called, defined or anything isn't clear.

Now common sense would make you think it is one of the awesome automatically defined processes by Windev like "initializing", "entry", "exit", "Mouse rollover (WM_MOUSEMOVE) on Table".
But I don't have an option "adding additional elements" or anything like that nor anything that would suggest doing something similar.

So this is where I'm now, I do get the scroll for a short amount of time.
But can't find the place where I should run the code.

If someone has this working or knows how to get this working, please share.

Thanks in advance and best regards,
David van Pelt
Publicado el 13,junio 2016 - 15:46
Hi. It's a process code for Looper/Table. Ready to use it when you check the option in control properties.

Im using it in WM21 without issues.

Rubén
Publicado el 13,junio 2016 - 16:02
Hi David,

I'm not sure what your problem is...

as soon as you check the infinite mode option for the table or looper, the corresponding code area appears in the table codes list.

So in there, you just read your data and add lines in the table, and it is called automatically when at the end of the scroll, as stated in the content tab.

Best regards
Publicado el 13,junio 2016 - 16:03
Hi Ruben,

Thanks for your fast reply but this doesn't happen for me.
I don't have the code block and tried it many times on multiple ways.

At this moment, I have created a new looper and a new table, checked the option but nothing.
Also tried it on the existing tables, I will check for updates...

Tried it on WD21 32 and WD21 64.

David
Publicado el 13,junio 2016 - 16:10
Hi Fabrice,

That's the problem.
It isn't, what you describe is what I expect but I have no code section for this
and just in case, yes I did check the option.

David
Publicado el 13,junio 2016 - 16:35
To clarify what the problem is.
I expect to have a process under the table, but I really don't have it.
Publicado el 13,junio 2016 - 21:43
What version of windev 21 is that?
Publicado el 14,junio 2016 - 06:07
Hello !

I have same problem. My version is 59n (last version).
Publicado el 14,junio 2016 - 08:43
Same as Igor...
Module version: 21.0.160.1
Intenral Version: 01A210059n
Publicado el 15,junio 2016 - 16:05
I think we can be pretty sure this is a Windev bug.
Did send it to PC Soft as I posted this but so far no reply.
Will keep you updated.

Best regards,

David
Publicado el 15,junio 2016 - 17:26
Hi everybody

just checked: it is there in the french version (v65) but NOT in the US one (v59)...

Looks like you will have to wait a few days, if everybody else sees the same thing

Best regards