LucaMs Expert Licensed User Longtime User Dec 18, 2017 #2 Yes, I'm sleeping, because otherwise I would have published this in the right forum, "Bug & wishlist". Upvote 0
Yes, I'm sleeping, because otherwise I would have published this in the right forum, "Bug & wishlist".
LucaMs Expert Licensed User Longtime User Dec 18, 2017 #4 Found the bug. ivSearchMain vertical anchor is set to Bottom and the script, executed after this "directive", does not work (changing the anchor to Top it's ok). Upvote 0
Found the bug. ivSearchMain vertical anchor is set to Bottom and the script, executed after this "directive", does not work (changing the anchor to Top it's ok).
Erel B4X founder Staff member Licensed User Longtime User Dec 18, 2017 #5 Can you upload the layout file? Upvote 0
LucaMs Expert Licensed User Longtime User Dec 18, 2017 #6 Erel said: Can you upload the layout file? Click to expand... No, because I changed it; I will try to reproduce the same error. Upvote 0
Erel said: Can you upload the layout file? Click to expand... No, because I changed it; I will try to reproduce the same error.
LucaMs Expert Licensed User Longtime User Dec 18, 2017 #7 I'm trying (without much concentration, phone calling )... Perhaps the problem was that I used both a general and a variant-specific script. Evidently one excludes the other; I thought that the general one was applied and then, later, the specific one was applied. Upvote 0
I'm trying (without much concentration, phone calling )... Perhaps the problem was that I used both a general and a variant-specific script. Evidently one excludes the other; I thought that the general one was applied and then, later, the specific one was applied.
Erel B4X founder Staff member Licensed User Longtime User Dec 18, 2017 #8 LucaMs said: Evidently one excludes the other; I thought that the general one was applied and then, later, the specific one was applied. Click to expand... No. One doesn't exclude the other. The general script is executed and then the variant specific script. Upvote 0
LucaMs said: Evidently one excludes the other; I thought that the general one was applied and then, later, the specific one was applied. Click to expand... No. One doesn't exclude the other. The general script is executed and then the variant specific script.
LucaMs Expert Licensed User Longtime User Dec 18, 2017 #9 Erel said: No. One doesn't exclude the other. The general script is executed and then the variant specific script. Click to expand... I thought so. Then I don't know the reason of that strange behavior Upvote 0
Erel said: No. One doesn't exclude the other. The general script is executed and then the variant specific script. Click to expand... I thought so. Then I don't know the reason of that strange behavior
LucaMs Expert Licensed User Longtime User Dec 18, 2017 #10 Could be the Autoscaleall in both script (general and specific) the problem? Attachments Test.zip 7.7 KB · Views: 227 Last edited: Dec 18, 2017 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2017 #11 Yes. AutoScaleAll should only be called once when the script starts (in the general script). I recommend you to use as few as possible variants and not to use variant scripts at all. If you add the code in the general script: B4X: If ActivitySize < 6 Then ... End If Upvote 0
Yes. AutoScaleAll should only be called once when the script starts (in the general script). I recommend you to use as few as possible variants and not to use variant scripts at all. If you add the code in the general script: B4X: If ActivitySize < 6 Then ... End If
LucaMs Expert Licensed User Longtime User Dec 19, 2017 #12 I fear that I got the same error also removing the "second" AutoScaleAll, next (but I don't remember in what situation; again having the general script and one or two specific scripts). If I will able to reproduce...! Erel said: I recommend you to use as few as possible variants and not to use variant scripts at all. Click to expand... I used only two variants, one for portrait and one for landscape. Last edited: Dec 19, 2017 Upvote 0
I fear that I got the same error also removing the "second" AutoScaleAll, next (but I don't remember in what situation; again having the general script and one or two specific scripts). If I will able to reproduce...! Erel said: I recommend you to use as few as possible variants and not to use variant scripts at all. Click to expand... I used only two variants, one for portrait and one for landscape.