Control of events of the window from my component


#1

As I can create an event of the window in my component


#2

Yeah, you’re going to have to try that again in english…


#3

I bet “As I can” means “How can I”, and “in my component” means “from my component”…


#4

Access to an event of the parent window from a component

español:acceso a un evento de la ventana padre desde un componente


#5

what kind of event?


#6

moved and resized


#7

ComponentListener::componentMovedOrResized() ?


#8

yes, But from my component.


#9

Overload resized()
or derive your component from ComponentListener and overload componentMoveOrResized() and put a “addListener(this)” in your constructor.


#10

Thanks to all.