Fwd: WebView and NSDrawer
Fwd: WebView and NSDrawer
- Subject: Fwd: WebView and NSDrawer
- From: Thomas Schmitt <email@hidden>
- Date: Wed, 19 May 2004 10:23:55 +0200
Hello,
I have a little problem with WebView.
I want to embed a little browser in an NSDrawer. To do this i subclassed
NSView and add two controlls to this "littleBrowerView", when I put this
view in an NSWindow everthing is OK, but when I put this in a NSDrawer,
my app crash when there is an <form> in the htlm page and I step into an
<input>.
Does anyone know what happend?
The view Class is very simple maily it has a single method
-(void) setURL:(NSString*)url;
{
if (url){
LCLOG("");
[urlField setStringValue:url];
[[webView mainFrame] loadRequest:[NSURLRequest
requestWithURL:[NSURL URLWithString:url]]];
}
}
and some methods for handling WebPolicyDelegate calls.
Thomas
------
Thomas Schmitt
Forschung & Entwicklung, Com.Win Client Technologies
WEB.DE AG, Amalienbadstra_e 41, D-76227 Karlsruhe, Germany
Fon:+49(0)721 94329-8534
Fax:+49(0)721 94329-899
------
Thomas Schmitt
Forschung & Entwicklung, Com.Win Client Technologies
WEB.DE AG, Amalienbadstra_e 41, D-76227 Karlsruhe, Germany
Fon:+49(0)721 94329-8534
Fax:+49(0)721 94329-899
------
Thomas Schmitt
Forschung & Entwicklung, Com.Win Client Technologies
WEB.DE AG, Amalienbadstra_e 41, D-76227 Karlsruhe, Germany
Fon:+49(0)721 94329-8534
Fax:+49(0)721 94329-899
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.