Datagridhelper iOS Scroller when using 2 Datagrids on one card
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Tue Feb 12 06:04:54 EST 2019
Hi Jerry,
thanks for your answer.
I didn´t realize that the DG2 has native iOS scroller support integrated.
Tried it already and all is working so far w/o a problem.
Regards,
Matthias
Matthias Rebbe
free tools for Livecoders:
https://instamaker.dermattes.de <https://instamaker.dermattes.de/>
https://winsignhelper.dermattes.de <https://winsignhelper.dermattes.de/>
> Am 12.02.2019 um 09:01 schrieb JJS via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>
> Hi Matthias,
>
>
> the DG's have their own scroller as of DG2, so you don't need to create that anymore.
>
> In LC 903 there is a bug solved so that you can use other scroller handlers via the name of the dg scroller.
>
> Because before you could do it via the scrollerid, but because the scroller id is changed every time you enter the card with the dg's this did not work anymore.
>
> Check https://quality.livecode.com/show_bug.cgi?id=21555 <https://quality.livecode.com/show_bug.cgi?id=21555> for more info on it.
>
>
> Ciao!
>
> Jerry
>
> Op 12-2-2019 om 00:49 schreef Matthias Rebbe via use-livecode:
>> Hi,
>>
>> in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card.
>> The datagrids have the same location on the card and are shown and hided
>> with a button. After adding content to DG1 i send "DGHiOs_CreateScroller" to it to create the scroller.
>> When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true and switch back after
>> some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work.
>>
>> Tried also to delete the scroller of DG1 before switching to DG2 and vice versa.
>>
>> What are the correct steps to get iOS Scrollers working with each of the Datagrids?
>>
>> Is there something special i have to keep in mind?
>>
>>
>> Regards,
>>
>> Matthias
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list