list view control proplem
-
hi every body i have a list view control in windows mobile application which read from database and it has some problems : 1- the list view has 5 columns , i made the alignText property to all of the columns to center but i have one problem the first column does not set to center i try to set it from the property window and from code to be center but it always be left , and i don't know why ? can you help me in that ?? and other problem is i want to make the header text bold , not all the list view , how could i do that , i didn't find any property to do that in windows mobile by the way i use vb in my application Thanks a lot Mona
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
-
hi every body i have a list view control in windows mobile application which read from database and it has some problems : 1- the list view has 5 columns , i made the alignText property to all of the columns to center but i have one problem the first column does not set to center i try to set it from the property window and from code to be center but it always be left , and i don't know why ? can you help me in that ?? and other problem is i want to make the header text bold , not all the list view , how could i do that , i didn't find any property to do that in windows mobile by the way i use vb in my application Thanks a lot Mona
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
The left column always has it's text left aligned - it's the same in winforms. I believe you would need to make your own ListView (inheriting from the built in one) and override the OnPaint method to alter the header font properties. You could possibly fix your first problem using this method too.
Dave