Hi all, i want to make indent in rtf using track bar.
So when i scroll track bar my paragraph can shift follows the trackbar position.
Would u like to help me please...
Thank u very much
Try this following code :
Private Sub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll Editor.SelectionIndent = Editor.Width * (TrackBar1.Value / TrackBar1.Maximum) End Sub
Wow, Great code..
Thank you very much friend. you are a great coder.
Happy coding :)