52 views
in Embedded Wizard Studio by

I am implementing a Scrolling List using Vertical list. I just want to confirm something.  Lets say once the Correct Titles are set for the List when you enter that particular screen, and you start scrolling the list. Should the LoadItem function or GetTitle function is called somewhere while you simply scroll the list? I am trying to make a specific type of list (kind of Combo i am using EW version 10) but somehow i end up inside  the Loaditem function while scrolling and it changes  the content of my list while scrolling (I know why it is changed because my Index value is not correct when the code enters the onLoaditem function the second time that is while scrolling). but why is it even going inside that function again  while scrolling, this is my question?  Is it some back end implementation that calls Onloaditem again while scrolling the list? or did i just break something for myself? 

1 Answer

0 votes
by

Hello,

yes, while scrolling the list the slot method OnLoadItem is invoked. This is because the list itself does not store the items. When the user scrolls the list, new exposed items need to be loaded first. See also the documentation.

Best regards

Paul Banach

Embedded Wizard Website | Privacy Policy | Imprint

...