LucaMs Expert Licensed User Longtime User Mar 19, 2022 #1 EDIT: published here. ************************ I'm thinking maybe a custom view like this would be useful: to be added to each item of a CustomListView. The icons would serve, in order, to: - select the item - modify the item - delete the item. Of course you should have the option to choose whether to show all 3 icons or just some. On the other hand, there is often a way to select N items (usually CheckBoxes) and then act on the items selected via a view outside the CLV, for example a button to delete all the selected items or to copy them. What do you think? Last edited: Mar 21, 2022
EDIT: published here. ************************ I'm thinking maybe a custom view like this would be useful: to be added to each item of a CustomListView. The icons would serve, in order, to: - select the item - modify the item - delete the item. Of course you should have the option to choose whether to show all 3 icons or just some. On the other hand, there is often a way to select N items (usually CheckBoxes) and then act on the items selected via a view outside the CLV, for example a button to delete all the selected items or to copy them. What do you think?
Xfood Expert Licensed User Longtime User Mar 19, 2022 #2 I think it would be very useful, very good idea Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2022 #3 Nothing special is needed to create such layout. Simply add 3 labels with these icons. Upvote 0
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #4 Erel said: Nothing special is needed to create such layout. Simply add 3 labels with these icons. Click to expand... But if it were a custom view (B4XLib): 1 - you could easily add it to the item layout; 2 - you could set which icons to display; 3 - automatically create events. (I'm trying) Upvote 0
Erel said: Nothing special is needed to create such layout. Simply add 3 labels with these icons. Click to expand... But if it were a custom view (B4XLib): 1 - you could easily add it to the item layout; 2 - you could set which icons to display; 3 - automatically create events. (I'm trying)
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #5 LucaMs said: But if it were a custom view (B4XLib): 1 - you could easily add it to the item layout; 2 - you could set which icons to display; 3 - automatically create events. (I'm trying) Click to expand... Last edited: Mar 20, 2022 Upvote 0
LucaMs said: But if it were a custom view (B4XLib): 1 - you could easily add it to the item layout; 2 - you could set which icons to display; 3 - automatically create events. (I'm trying) Click to expand...
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #6 I'm not Michelangelo, I have to admit ? This is the event code: B4X: Copy Private Sub CLVItemToolbox1_Click(Action As String, Base As B4XView) Dim ItemIndex As Int = CustomListView1.GetItemFromView(Base) Log($"${Action} clv item #${ItemIndex}"$ ) End Sub and this is the layout of the CustomListView item: Last edited: Mar 20, 2022 Upvote 0
I'm not Michelangelo, I have to admit ? This is the event code: B4X: Copy Private Sub CLVItemToolbox1_Click(Action As String, Base As B4XView) Dim ItemIndex As Int = CustomListView1.GetItemFromView(Base) Log($"${Action} clv item #${ItemIndex}"$ ) End Sub and this is the layout of the CustomListView item:
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #7 Another example (unfortunately, 500KB limit) Upvote 0
Xfood Expert Licensed User Longtime User Mar 20, 2022 #8 great, why not complete the library with other windget toolbars, like the classic button + 4 -, add to cart, what do you think? Upvote 0
great, why not complete the library with other windget toolbars, like the classic button + 4 -, add to cart, what do you think?
Xfood Expert Licensed User Longtime User Mar 20, 2022 #9 another widget might also be interesting, filter, sort az, za, find ????? Upvote 0
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #10 Xfood said: great, why not complete the library with other windget toolbars, like the classic button + 4 -, add to cart, what do you think? Click to expand... Xfood said: filter, sort az, za, find Click to expand... No, because those are actions that involve all the items, the CLV, not one at a time. Upvote 0
Xfood said: great, why not complete the library with other windget toolbars, like the classic button + 4 -, add to cart, what do you think? Click to expand... Xfood said: filter, sort az, za, find Click to expand... No, because those are actions that involve all the items, the CLV, not one at a time.
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #11 Xfood said: another widget might also be interesting, filter, sort az, za, find ????? Click to expand... Ah, another custom view! Sorry, I misread the second post (I was still sleeping). It can be a good idea. Last edited: Mar 20, 2022 Upvote 0
Xfood said: another widget might also be interesting, filter, sort az, za, find ????? Click to expand... Ah, another custom view! Sorry, I misread the second post (I was still sleeping). It can be a good idea.
M Mahares Expert Licensed User Longtime User Mar 20, 2022 #12 Do you have a project for us to check out or is it still in the planning stages Upvote 0
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #13 Mahares said: in the planning stages Click to expand... Upvote 0
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #14 Mahares said: Do you have a project for us to check out or is it still in the planning stages Click to expand... I still have a few things to do. Upvote 0
Mahares said: Do you have a project for us to check out or is it still in the planning stages Click to expand... I still have a few things to do.
behnam_tr Active Member Licensed User Longtime User Mar 20, 2022 #15 good idea It will be good if the following capabilities are added Ability to add more than 3 icons for use on the tableview or anywhere as a toolbox Ability to change icons Ability to customize items such as tooltip font size and ... Upvote 0
good idea It will be good if the following capabilities are added Ability to add more than 3 icons for use on the tableview or anywhere as a toolbox Ability to change icons Ability to customize items such as tooltip font size and ...
LucaMs Expert Licensed User Longtime User Mar 20, 2022 #16 behnam_tr said: Ability to add more than 3 icons for use on the tableview or anywhere as a toolbox Click to expand... I don't know which ones I could add. behnam_tr said: Ability to change icons Click to expand... Done. behnam_tr said: Ability to customize items such as tooltip font size and Click to expand... To do. [There are no texts, so no fonts. Space is deliberately limited] Upvote 1
behnam_tr said: Ability to add more than 3 icons for use on the tableview or anywhere as a toolbox Click to expand... I don't know which ones I could add. behnam_tr said: Ability to change icons Click to expand... Done. behnam_tr said: Ability to customize items such as tooltip font size and Click to expand... To do. [There are no texts, so no fonts. Space is deliberately limited]