Hello, I'm new to the forum so please bear with me!!
I have 2 problems with my project-I have a web browser in my Forms application.
When I open one of my documents and display it in the web browser I would also like the title of the document to appear in the browser.Has anyone any ideas?
And Secondly-
When I select a node in my treeview I have no problem seeing them in my web browser.
My problem is that when I try to collapse my tree then my last viewed document in the web browser remains visibe.
How can I ensure that when I collapse my tree my web browser will also become totally empty?
Thanks for the help.
I have a web browser in my Forms application.
When I open one of my documents and display it in the web browser I would also like the title of the document to appear in the browser.Has anyone any ideas?
I have no idea what you're asking here.How can I ensure that when I collapse my tree my web browser will also become totally empty?
Trap the "TreeView.AfterCollapse" event, and navigate to "about:blank".
Hello, Thanks for the help. Problem no.2 fixed!!
With the first problem- I have a treeview. In the treeview I have 10 menus. In each menu I have a further 10 sub menus.
For example the Main menu is called 'computing.net' and 1 of the sub menus is called 'answers'. When I click on 'answers' the document is displayed in the web browser. I would also like the title of the document ('answers') to appear in the web browser in the Label box that I have dragged onto the application.Sorry that I can't explain it any better.
I really appreciate the help.
Assuming you're using the WebBrowser COM object, there's an event called TitleChange. Trap it.
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |