Question : How to change the location of Listbox using code

i am using datagrid and when i click in first row 3 column it shld show the list box in its original position and for next time in next line in same column it shld show in different location like it shld x-axis by 1 and y axis by 20.so can u plz help me

Answer : How to change the location of Listbox using code

Sorry, got that backward (and left off the Y...lol) Should look like:


Dim p As Point = ListBox1.Location
p.X += 10
p.Y += 20
ListBox1.Location = p

Random Solutions  
 
programming4us programming4us