2016년 11월 24일 목요일

change color to listpicker elements


i'm wondering how could i change color of a listpicker element

I thought to make another list, in which the elements i press change color
but the question is: how could i change only ONE element color? it's something with selection index, but i can't find a way

--
I know of no way to do that.

There are a lot of Unicode characters, maybe there's one to change colors?
I remember PCDOS had sequences like that for screen text.

No luck on UniCode color changing.

--
actually i'm looking for a method to make a multiselection of list elements in listpicker

-- 
Unicode check boxes that can be copied and pasted into text boxes:




--
than you all
probably i'll try the unicode solution, even the taifun one is great

-- 
Bad news - the check box codes don't show in the listView, at least in the emulator.
See attached.

If you don't need to be fancy, you could substitute:
[_]
[X]

2016-11-23 17_57_38-5554__build_.png 표시 중


-- 
Cool
actually i do not need an empty checkbox, i could add a symbol to the selected item
i'll post my solutions

-- 
and once again, thanx
i'll have a statue in my city

-- 
just a question
how the hell i can insert an unicode code in a textbox? found nothing, and i see the code, not the element

-- 
i had only to copy your check box. whoa, the answer was easy..but in my tablet the symbol are very strange,  seems a mail box with a letter ..
where i can find more symbols like that?

-- 
just want to share this way that works fine for me


 Cattura.png

the only question is, is possible to make the listpicker stable? like listview, that do not close when clicked

-- 


 is possible to make the listpicker stable? like listview, that do not close when clicked



Isn't there a List Picker block to re-open it?

-- 
yes sure, wanted to avoid the movement of the screen, but it does'nt matter

now i'm working in this way.
i created another variable list called OrganizationsDiplayables that i set to ORGANIZATIONS, that when i click on a element i add a " ✓ " , or i delete the  " ✓ " if already present

 Cattura02.png


the question is, how can i create another list "called LINKED ORGANIZATIONS", made by only the elements with " ✓ "?

-- 


the question is, how can i create another list "called LINKED ORGANIZATIONS", made by only the elements with " ✓ "?



Build it up from empty with a loop, each time you flip an element.
Do it in a procedure, so you can also call it at startup.
-- 
i was thinking about that, i only have to understand how to kick out the element from LINKED ORGANIZATIONS when i unflip it

whoa, every thing is an effort

-- 
only have to understand how to kick out the element from LINKED ORGANIZATIONS when i unflip it

Keeping the separate list LINKED ORGANIZATIONS as the primary source of truth during the display of a contact makes it simpler,
and lets you take advantage of two nice list blocks:
IS_IN_LIST and INDEX_IN_LIST, which you can use to feed the
REMOVE ITEM AT INDEX block when an uncheck has occurred.

If you have a list of all possible ORGANIZATIONS in a global, you can loop through that list
and test item by item IS_IN_LIST ( LINKED ORGANIZATIONS) to decide whether or not to check that item when you add
it to your displayable list, for your list picker.

-- 
sorry, but this time i did not understand :-(

-- 
found this way


 Cattura.png
 Cattura04

it seems ok for my purpose, what do you think about?

-- 
Will it accumulate blanks in front of the Organization name if you repeatedly check and uncheck the Organization Selection?
Or are you replacing the check mark with an empty string?
It's hard to see from the blocks shot.

Otherwise, it looks solid.

-- 

댓글 없음:

댓글 쓰기