Greetings All,

In a window, I'm using a container with a CocoaControlMBS.
In the GetView event, this CocoaControlMBS return n as a CustomPDFViewMBS.

The container is embeded in the window in the Open event.

In the window, I have also have 3 TextFields.

On launch, the CustomPDFViewMBS renders a pdf, and gets keyboard events. 
That's great.

Hower, when I put the focus on one of the TextFields, I can't put back 
the focus on the CocoaControlMBS inside the container.

Therefore, the CocoaControlMBS does'nt get KeyDown event anymore.... But 
it still catchs Mousedowm.

How could I put back the focus on the CocoaControlMBS ?

I tried :

MyMacPdfCC.CocoaControlMBS1.SetFocus

on the LostFocus event of the TextFields without any success.

The KeyDown events are trapped in the CustomPDFViewMBS.KeyDown event, as 
well as the MouseDown events.

I'm building in Carbon at the moment, as I use TextAreas wich are still 
very buggy in 2011r4.3 in Cocoa.

Any clue ?

Thanks,
Fred


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to