Mobile Native Essentials Widget Pack: Slider copy values

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

Mobile Native Essentials Widget Pack: Slider copy values

Post by ace16vitamine » Tue Aug 15, 2023 1:16 pm

Hi all,

I am using the Mobile Native Essentials Widget Pack and I have no Idea what exact is going on wrong here :D

Two Cards:
Card 1: Settings > Mobile Slider "slider_settings, ID 1080
Card 2: Health > Mobile Slider "slider_day1, ID 1085 and Mobile Slider "slider_day2, ID 1088


Now the funny think:

on open card Settings:

set the startValue of widget ID 1080 of card "Settings" to 1
set the endValue of widget ID 1080 of card "Settings" to 20
set the thumbpos of widget ID 1080 of card "Settings" to 15

(same issue as set the startValue of widget "slider settings")....


So, After open the card settings the slider from Health is moving... And I have no Idea why...

If I start the card Health with

set the startValue of widget ID 1085 of card "Health" to 1
set the endValue of widget ID 1085 of card "Health" to 20
set the thumbpos of widget ID 1085 of card "Health" to 15


the slider with ID 1088 is moving, the slider from settings is ignoring his setting :D

... And I have no Idea what is going on wrong here. I have this only with the sliders....

LC9.6.9

ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

Re: Mobile Native Essentials Widget Pack: Slider copy values

Post by ace16vitamine » Tue Aug 15, 2023 2:39 pm

Deploy on iOS (simulator), open Card 1 (all is working). Open Card 2 (not working). Go back to Card 1 -> Also not working

Card 1:

Code: Select all

on opencard
   set the startValue of widget "Native Slider1" to 1
   set the endValue of widget "Native Slider1"to 20
   set the thumbpos of widget "Native Slider1" to 10
end opencard

Card 2:

Code: Select all

on opencard
   set the startValue of widget "Native Slider2" to 1
   set the endValue of widget "Native Slider2"to 20
   set the thumbpos of widget "Native Slider2" to 10
end opencard

ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

Re: Mobile Native Essentials Widget Pack: Slider copy values

Post by ace16vitamine » Tue Aug 15, 2023 2:47 pm

Found another threat with the same issue here, it is a bug
https://forums.livecode.com/viewtopic.php?f=49&t=38556

Post Reply

Return to “iOS Deployment”