I am programming an application where one feature is going to be a checkbox, when checked, anything the mouse hovers over will extract the id, and name from.
Does anyone know the code for this? It will be greatly appreciated
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney
I have form1 with a webbrowser1 that I would like to have this function:
When my mouse cursor is on an html element in webbrowser1, I would like it to show string(text) information about that html element in a text box.
If I hover my mouse on googles submit button, my text box should say btnK
If im not hovering over googles submit button, my text box should say nothing, or tell me
a different element im hovering over
Script Look-a-Like example:
(not actual code, or implication of what the code should look like)
dim example = webbrowser1.document.getelementbyid(id)
if mouse ison example then
textbox1.txt = example
end if webbrowser1.document.getelementbyid(id) = <>
else textbox1.txt = ""
This function is very hard to find any information on anywhere on the internet, hope yall can help with it.
I'd check the Webbrowser's events to see there is an event that can facilitate this. I've never used that control so I don't know but its where I'd look first.
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney
Oh...I asked because it would have given a clue as to how it was achieved. I don't really know much about this particular type of thing but I've seen other threads around here about similar things. Try searching around the forums or wait and maybe someone who knows better would come around and answer.
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney