I have a WebView and a NSTextField (as URL address bar) on my window.
I need to be able to load the page automatically when I programmatically set
the URL filed to a web page address. However the only way I can make the page
appear now is by clicking in the URL field and hitting Return key. How
I have a WebView and a NSTextField (as URL address bar) on my window.
I need to be able to load the page automatically when I programmatically set
the URL filed to a web page address. However the only way I can make the page
appear now is by clicking in the URL field and hitting Return key. How
I am using WebView searchFor method to find a string on the web view and hilite
it.
I can see that string is found and hilited momentary but doesn't remain hilited
permanently.
How can I keep the found string hilited, until I search for another string and
is found.
Any help would be
I am trying to change the title of a push button after each click (eg: to swap
between Play and Pause)
I am using this code:
if(m_isPlaying)
{
[myButton setStringValue:@Play];
m_isPlaying = 0;
}
else
{
[myButton setStringValue:@Pause];
m_isPlaying = 1;
}
None of above