منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
Autoscroll Controls - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : قسم لغة السي شارب C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=175)
+--- قسم : قسم مقالات C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=177)
+--- الموضوع : Autoscroll Controls (/showthread.php?tid=14084)



Autoscroll Controls - Abu Ehab - 11-12-15

السلام عليكم

Autoscroll Controls
TextBox autoscroll

كود :
textBox1.SelectionStart = textBox1.Text.Length;
textBox1.ScrollToCaret();


ListBox autoscroll
كود :
listBox1.SelectedIndex = listBox1.Items.Count - 1;
listBox1.SelectedIndex = -1;

ListView autoscroll
كود :
listView1.EnsureVisible(listView1.Items.Count - 1);
TreeView autoscroll
كود :
treeView1.Nodes[treeView1.Nodes.Count - 1].EnsureVisible();
DataGridView autoscroll
كود :
dataGridView1.FirstDisplayedCell =
 dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0];



RE: Autoscroll Controls - myalsailamy - 11-12-15

لمسات جميله جداً في برامجك ،، و اكوادها بسيطه لا تكلف وقت


RE: Autoscroll Controls - Miloud - 25-09-21

رائع ... شكرا جزيلا