Shay Well-Known Member Licensed User Longtime User Jun 2, 2011 #1 Hi I have 2 questions: 1. I have in my table 2 column, one I wish to display and the second I don't how do I add 1 column with data that will be hidden 2. how do I align the test to the right? thanks
Hi I have 2 questions: 1. I have in my table 2 column, one I wish to display and the second I don't how do I add 1 column with data that will be hidden 2. how do I align the test to the right? thanks
dealsmonkey Active Member Licensed User Longtime User Jun 2, 2011 #2 Shay said: Hi I have 2 questions: 1. I have in my table 2 column, one I wish to display and the second I don't how do I add 1 column with data that will be hidden 2. how do I align the test to the right? thanks Click to expand... Is the hidden column going to be used when the user clicks on a listview item ?? Upvote 0
Shay said: Hi I have 2 questions: 1. I have in my table 2 column, one I wish to display and the second I don't how do I add 1 column with data that will be hidden 2. how do I align the test to the right? thanks Click to expand... Is the hidden column going to be used when the user clicks on a listview item ??
Shay Well-Known Member Licensed User Longtime User Jun 2, 2011 #3 yes (if no way I will use the .tag) how do I align text to the right? thanks Upvote 0
eps Expert Licensed User Longtime User Jun 2, 2011 #4 Something like the following : ListView1.TwoLinesLayout.Label.Gravity = Gravity.RIGHT HTH Upvote 0
Shay Well-Known Member Licensed User Longtime User Jun 3, 2011 #5 how do I do it with oneline? Upvote 0
Shay Well-Known Member Licensed User Longtime User Jun 3, 2011 #6 did workaround used the twolines and "convert" it into 1 line using itemheight Upvote 0
klaus Expert Licensed User Longtime User Jun 3, 2011 #7 Just a few questions: - How do you fill the ListView ? - Do you really need the second column ? If no, you could use the ListView with a single line and just fill that one. The text alignment to the right works the same way. ListView1.SingleLineLayout.Label.Gravity = Gravity.RIGHT Best regards. Upvote 0
Just a few questions: - How do you fill the ListView ? - Do you really need the second column ? If no, you could use the ListView with a single line and just fill that one. The text alignment to the right works the same way. ListView1.SingleLineLayout.Label.Gravity = Gravity.RIGHT Best regards.
dealsmonkey Active Member Licensed User Longtime User Jun 3, 2011 #8 Why not use a single line Listview with the column1 as the visible text and the column2 as the return value ? lv.AddSingleLine2(Column1,Colum2) The column2 value will be exposed in the listview_click sub. Upvote 0
Why not use a single line Listview with the column1 as the visible text and the column2 as the return value ? lv.AddSingleLine2(Column1,Colum2) The column2 value will be exposed in the listview_click sub.
Shay Well-Known Member Licensed User Longtime User Jun 3, 2011 #9 Don't know how I did not see this (.SingleLineLayout) thanks Upvote 0
eps Expert Licensed User Longtime User Jun 3, 2011 #10 Apols. I thought it was "obvious" - singlelinelayout, if you've got a single line or twolinelayout if you've got two lines and twolinelayoutandbmp if you've got two lines and a bitmap... Hope it's all sorted tho! Upvote 0
Apols. I thought it was "obvious" - singlelinelayout, if you've got a single line or twolinelayout if you've got two lines and twolinelayoutandbmp if you've got two lines and a bitmap... Hope it's all sorted tho!