ethicalhacker
Well-known member
I ave created a webbrowser and I need to load the text of the active mdi child into a textbox just like the add to favorites gets the title of the current web page into the textbox.
I have coded it in such a way that the child form gets the text as the title of the site,that works fine. So I tried to get the site title on the new dialogs load time into the textbox or even the active child form's text would do the same job but it just doesnt work. I tried
textbox1 is a textbox on a dialog.
I have coded it in such a way that the child form gets the text as the title of the site,that works fine. So I tried to get the site title on the new dialogs load time into the textbox or even the active child form's text would do the same job but it just doesnt work. I tried
VB.NET:
dim child as form1 = trycast(activemdichild,form1)and then textbox1.text=child.text