Home > comp > gb.qt4 > control > proxy 
 en fr de es nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Precedente  Successivo  Modifica  Rinomina  Undo  Search  Amministrazione  
Documentazione  
Attenzione! Questa pagina non รจ tradotta.  Vedi versione in inglese 
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 eventi, 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 classe 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:

Vedi anche

UserControl