T Tomas Petrus Active Member Licensed User Longtime User Feb 13, 2019 #1 I have 2 CUstomListViews in Activity. If one is empty I want to hide it and change height of the other one to 100% for example. My tries looks like this Code: Copy MojeZakazkyClv.AsView.Height = 52dip * i HomeClv.AsView.Top = HomeClv.AsView.Top + 52dip * i first line should change height of the first list according to number of items - seems to doesnt work second line move TOP of second list by 52dips * number of items in first list - seems to work What is the correct approach ? Last edited: Feb 13, 2019
I have 2 CUstomListViews in Activity. If one is empty I want to hide it and change height of the other one to 100% for example. My tries looks like this Code: Copy MojeZakazkyClv.AsView.Height = 52dip * i HomeClv.AsView.Top = HomeClv.AsView.Top + 52dip * i first line should change height of the first list according to number of items - seems to doesnt work second line move TOP of second list by 52dips * number of items in first list - seems to work What is the correct approach ?
T Tomas Petrus Active Member Licensed User Longtime User Feb 13, 2019 #2 solved it : ) MojeZakazkyClv.sv.Height = 52dip * i Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2019 #3 Tomas Petrus said: MojeZakazkyClv.sv Click to expand... I thought that this is a base64 encoded string Upvote 0
Tomas Petrus said: MojeZakazkyClv.sv Click to expand... I thought that this is a base64 encoded string
T Tomas Petrus Active Member Licensed User Longtime User Feb 15, 2019 #4 hmm.. I might not to know what is it : )) but it was the only way to adjust scrollable area to the view that encapsulate it. and its working Upvote 0
hmm.. I might not to know what is it : )) but it was the only way to adjust scrollable area to the view that encapsulate it. and its working
T Tomas Petrus Active Member Licensed User Longtime User Feb 16, 2019 #5 hmm2... finally after few days I got the joke : ) Thats Czech language Erel Its readable : )) And it's translated as MyOrdersClv.sv Upvote 0
hmm2... finally after few days I got the joke : ) Thats Czech language Erel Its readable : )) And it's translated as MyOrdersClv.sv