jScrollView question lazarus / 43-Android ---------------------------------------------------------------------- xinyiman · 2023-04-23 10:00 Hi, I used jScrollView component in which I put components inside. I compile and when I run on my android device I don't see the components contained in the jScrollView. What am I doing wrong? Do I have to parameterize something? Thank you ---------------------------------------------------------------------- magleft · 2023-04-23 12:42 I think you must set values in Anchor PosRelativeToAnchor PosRelativeToParent ---------------------------------------------------------------------- xinyiman · 2023-04-25 18:42 I checked but everything seems set. Can I send you the code? So you tell me what I'm wrong. ---------------------------------------------------------------------- magleft · 2023-04-26 16:40 Yes. No problem ---------------------------------------------------------------------- xinyiman · 2023-04-27 08:15 View attachment ---------------------------------------------------------------------- magleft · 2023-04-27 12:41 In your file i change 2 thinks 1. Add in procedure setvalues  folowing line             AndroidModuleNewEditCompanie.Show ; 2. In All Txt_  items set RightMargin = 50 and works ---------------------------------------------------------------------- xinyiman · 2023-04-27 21:49 I tried what you suggested but it didn't help. I also updated to the latest version of LAMW but nothing. I don't understand what the problem is. ---------------------------------------------------------------------- magleft · 2023-04-28 13:34 See attachment. I have deactivate some procedure and  i have delete some kode. Check if works in you. Note: you have set jscrollbox width in one fifth of master. I set to 95% of parent. ---------------------------------------------------------------------- xinyiman · 2023-04-29 22:40 I tried, but it didn't fix. ---------------------------------------------------------------------- magleft · 2023-04-30 12:00 Check the attachment apk. if it doesn't work i can't imagine what is wrong. It works fine on my device. Conventional is the code. ---------------------------------------------------------------------- xinyiman · 2023-04-30 20:48 I tried the apk you attached and it works. I compiled the code you attached and when I click on the button on the main screen the program crashes. At this point I think it's a problem with the version of LAMW that I use. I installed LAMW on ubuntu linux using the LAMW_Manager tool. ---------------------------------------------------------------------- jmpessoa · 2023-04-30 23:40 QuoteAt this point I think it's a problem with the version of LAMW that I use. What about demo "AppHorizontalScrollViewDemo1"? it work ? ---------------------------------------------------------------------- xinyiman · 2023-05-02 18:39 Jmpessoa doesn't work either the example you gave me. I warn you that the linux version has several problems, in addition to the jscrollview problem, if you remember some time ago I also warned you that the new projects are compromised, in fact I have to copy an old project and modify it to carry on new projects. And it still works that way. ---------------------------------------------------------------------- xinyiman · 2023-05-15 06:15 I tried reinstalling the environment in Mint (I was on Ubuntu before). Now the AppHorizontalScrollViewDemo1 example works fine, but my code didn't work. To fix it I had to redraw all the components. What makes me think is that the first time they were the result of a copy and paste. I have now drawn them directly into the component and the program works fine.