smartdevices project - listview problem

  • Thread starter Thread starter Sebastian Batzke
  • Start date Start date
S

Sebastian Batzke

hi boys and girls,

i'm new to smart devices programming. i have got a problem, i couldn't
figure out by myself.
i would like to select a item in a listview control on a button click, for
example the last one. could anybody tell me the code that does that please
??

thx a lot
 
You may get better answers in the compactframework newsgroup from the boys
and girls doing the smart devices thing, as the compact framework is a
subset of the big one, but the answer to your question is
Listview1.Items(Listview1.Items.Count - 1).Selected = True
 
I'm pretty sure I remember seeing the Item property of a listview not being
supported by the Compact Framework. Look at the class members, it will say
if it is implemented in the CF
 
Back
Top