ok, best tanks
Other question: i want select a row and delete this. The key of my tabel is an auto incremet integer, i can use the panel.tab to allin the tabel with the scrollview? afther delete how refresh the screen? Tanks.If the ScrollView is added in the Designer you must not use Activity.AddView(scvMain, 0, 0, 100%x, 100%y) !
You must adjust the ScrollView.Panel.Height according to the row height and number.
Very good. Can i set the color of row selected and unselected?. When i select a row isn't difficult change color in event click but i must set standard color in the row select before. I think that i must pilot the pointer for list but i don't understand how.You can remove the panel at the row to delete and change the Top property of all panels below the row to delete.
If you use the Tag property to memorize the row index you'll need to decrement them by 1 for all row indexes higher than the deleted row index.
Sorry, but I don't understand exactly your problem.
What does this value 1770 exactly represent ?
Are the Back and Next buttons on the ScrollView.Panel or outsides of the ScrollView.
Couldn't you use the postion of your hidden Label for the test, the ScrollView.Panel.Height ?
So cool.In scvHDB_ScrollChanged replace this line
If lblSrollEndKontrolle.Text >= 1770 Then '1830 Then
by this line
If Position >= pnlHDB.Height - scvHDB.Height - 10dip Then
You don't need lblSrollEndKontrolle.Text.
10dip is the height where the Buttons are visible, you can change it to your convenience.
Activity.LoadLayout("main") Activity.Width = 100%x scvTest.Panel.LoadLayout("cloro") scvTest.Panel.Height = pnlCloroFondo.Height
Activity.LoadLayout("main") scvTest.Panel.LoadLayout("cloro") scvTest.Panel.Height = pnlCloroFondo.Height scvTest.Panel.width =100%x
Activity.LoadLayout("main") scvTest.Panel.LoadLayout("cloro") scvTest.Panel.Height = pnlCloroFondo.Height pnlCloroFondo.width = 100%x
Activity.LoadLayout("main") scvTest.Panel.LoadLayout("cloro") scvTest.Width = 100%x scvTest.Panel.Width = 100%x scvTest.Panel.Height = pnlCloroFondo.Height