Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
11
Erster Beitrag:
vor 1 Jahr, 2 Monaten
Letzter Beitrag:
vor 1 Jahr, 2 Monaten
Beteiligte Autoren:
David van Pelt, Fabrice Harari, Igor Pobi, Ruben Sanchez Peña

[WD21] process for adding additional elements at the end of scroll

Startbeitrag von David van Pelt am 13.06.2016 12: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

Antworten:

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

von Ruben Sanchez Peña - am 13.06.2016 13:46
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

von Fabrice Harari - am 13.06.2016 14:02
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

von David van Pelt - am 13.06.2016 14:03
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

von David van Pelt - am 13.06.2016 14:10
To clarify what the problem is.
I expect to have a process under the table, but I really don't have it.


von David van Pelt - am 13.06.2016 14:35
What version of windev 21 is that?

von Fabrice Harari - am 13.06.2016 19:43
Hello !

I have same problem. My version is 59n (last version).

von Igor Pobi - am 14.06.2016 04:07
Same as Igor...
Module version: 21.0.160.1
Intenral Version: 01A210059n

von David van Pelt - am 14.06.2016 06:43
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

von David van Pelt - am 15.06.2016 14:05
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

von Fabrice Harari - am 15.06.2016 15:26
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.