Enable Radiobutton when at end of richtextbox
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts
Page 1 of 1
I want to get my Agree radio button to become enabled when you retch the end of the text in the rich textbox. I have added a sample with everything working but this one part.
You do not have the required permissions to view the files attached to this post.
Please Fined a working version attached.
The main control is not mine I found it after some searching online I just added the updated bit to your timer and change the message box system a little for you as well.
I hope this is what you were after.
The main control is not mine I found it after some searching online I just added the updated bit to your timer and change the message box system a little for you as well.
I hope this is what you were after.
You do not have the required permissions to view the files attached to this post.
Add this in you RichTextBox's VScroll event.
Code: Select all
The radio button will be enabled when the user sees the last character in the RichTextBox.RadioButton1.Enabled = RichTextBox1.GetPositionFromCharIndex(RichTextBox1.Text.Length - 1).Y < RichTextBox1.Height
Last edited by XTechVB on Fri Sep 12, 2014 10:50 pm, edited 1 time in total.
You can find me on Facebook or on Skype mihai_92b
Works perfectly thanks.
Sorry to be a pain but who's works mine or the other guys
5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023