if (this. ListBox1. SelectedIndex & gt;=0 & amp; & This. The ListBox1. SelectedIndex & lt; ListBox1. Items. The Count - 1)
{
String name=ListBox1. SelectedItem. Text;
String ID=ListBox1. SelectedItem. Value;
Int index=ListBox1. SelectedIndex;
ListBox1. SelectedItem. Text=ListBox1. Items [index + 1]. The Text;
ListBox1. SelectedItem. Value=https://bbs.csdn.net/topics/ListBox1.Items [index + 1] Value;
ListBox1. Items [index + 1]. The Text=name;
ListBox1. Items [index + 1] Value=https://bbs.csdn.net/topics/ID;
ListBox1. SelectedIndex++;
}
CodePudding user response:
Is to choose the line down line by line in the list box in the end
CodePudding user response:
Change. To - & gt;
CodePudding user response:
· dataxdata
Yes ah, is also found on the web, but I will only in c + + Builder and Delphi code can't copy, can you help me to change?
CodePudding user response:
Ccrun
To change. - & gt; Ah ~ ~ ~
CodePudding user response:
C + + builder will correct some Delphi controls, format very strange, very hemp all that
CodePudding user response: