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
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.
you're Welcome
Happy coding :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.