Nov 12, 2017 Replies: 1 Problem Statement: Deciding which icon to use for my ABMaterial apps components was getting a little tedious. With over 1500 icons to choose from, doing to and fro was starting to be out of the question. Solution: Would be nice to have an icon picker like what B4J has, so MashIconPicker came about, to use on my Pen & Paper project and thus speed up some development time. What I needed was just the font icon name, but then the number is also returned, which can be passed to .. Code: Return Bit.ParseInt(strValue, 16) for one to get their icons. A map of all the icons for FA and MDI are saved on a map file. I didnt want to use a db for this. I have attached here the library itself and its source code. Its using a customlistview. Known Issues: Some of the MDI icons for some reason show squares on the buttons. Attachments MashIconPickerExample.zip MashIconPickerExample.zip 2.3 KB · Views: 669 MashIconPickerLibrary.zip MashIconPickerLibrary.zip 38.7 KB · Views: 692 MashIconPickerSC.zip MashIconPickerSC.zip 24.5 KB · Views: 715 Last edited: Nov 12, 2017 Click to expand...
Problem Statement: Deciding which icon to use for my ABMaterial apps components was getting a little tedious. With over 1500 icons to choose from, doing to and fro was starting to be out of the question. Solution: Would be nice to have an icon picker like what B4J has, so MashIconPicker came about, to use on my Pen & Paper project and thus speed up some development time. What I needed was just the font icon name, but then the number is also returned, which can be passed to .. Code: Return Bit.ParseInt(strValue, 16) for one to get their icons. A map of all the icons for FA and MDI are saved on a map file. I didnt want to use a db for this. I have attached here the library itself and its source code. Its using a customlistview. Known Issues: Some of the MDI icons for some reason show squares on the buttons.
free2end Member Licensed User Dec 23, 2018 #2 many thanks for your effort and sharing! i think that all the 8th searched items are missed... please check it out (as a test, i search (fa) for "car") found 22 items (4 rows) but display 20 (3 rows) Code: If cntItems > 7 Then 'start a new row strRow = RemDelim1(",",strRow) mRows.Add(strRow.ToString) strRow.Initialize cntItems = 1 'was 0... strRow.Append(strItem).Append(",") 'so include the 8th items... Else strRow.Append(strItem).Append(",") End If Last edited: Dec 23, 2018
many thanks for your effort and sharing! i think that all the 8th searched items are missed... please check it out (as a test, i search (fa) for "car") found 22 items (4 rows) but display 20 (3 rows) Code: If cntItems > 7 Then 'start a new row strRow = RemDelim1(",",strRow) mRows.Add(strRow.ToString) strRow.Initialize cntItems = 1 'was 0... strRow.Append(strItem).Append(",") 'so include the 8th items... Else strRow.Append(strItem).Append(",") End If