Home > comp > gb.qt4 > control > proxy 
 en fr de es it pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Voorgaande  Volgende  Bewerken  Hernoemen  Undo  Search  Administratie  
Handleiding  
Waarschuwing Deze pagina is niet vertaald.  Zie Engelse versie 
Control.Proxy (gb.qt4)
Property Proxy As Control

Return or set the "proxy" of a control.

When a control has a proxy, it will duplicate all mouse and keyboard events of the proxy for itself. I.e., if the proxy raises a KeyPress event, then the control will raise it too.

Moreover, the SetFocus and HasFocus methods will actually act on the proxy.

Use the proxy when you create a compound control based on a UserControl, with one of the child handling all mouse and keyboard events.

For example, the class ButtonBox, a TextBox and a Button, uses its inner TextBox as proxy. You see all events raised by the TextBox as if the ButtonBox has actually raised them.

List of properties and methods that take the proxy into account:

List of events that take the proxy into account:

Zie ook

UserControl