2016년 12월 19일 월요일

Faster way to place numbers into label .text?


Is there a better way to put 40 numbers (or more) into text of 40 (or more) labels. I already use  a list.
lotoflabels.JPG 표시 중

-- 
What you might do depends on why you need 40 labels Lieven.   Perhaps Taifun's dynamic table will work for you   http://puravidaapps.com/table.php  

If not, you might use the Control block  for each item in list     in conjunction with the  AnyComponent>AnyButton  Advanced Blocks.  How?  This is possible, you are going to need to learn how to use the advanced blocks ...  Try something and show us what worked.   Some hints are:


and



Merry Christmas, Wesołych Świąt,  Feliz Navidad, God Jul, Joyeux Noel, Καλά Χριστούγεννα, Happy Christmas, Veseloho Rizdva, Prettige Kerstdagen, Frohe Weihnachten!, 성탄 축하 , Buon Natale,  聖誕快樂 ,  圣诞快乐,  Sretan Božić, C рождеством!,  عيد ميلاد مجيد,
Steve

-- 
Thank you for your information.
I tried to work something out with advanced blocks.
I already can put a fix value into the text, but not the numbers of the 'Topscoreslijst'.
Hint?
lotoflabels_2.JPG 표시 중

-- 
create additionally a local variable, you can call it index and increment its value inside the for each loop, then use that variable together with the select list item block to select the 1st, 2nd, 3rd item, etc from that list

-- 
What's wrong with using a ListView for the list, instead of all those Labels?

--
Thank you all!
lotoflabels_3.JPG 표시 중

-- 

댓글 없음:

댓글 쓰기