|
Topic Topic Hot Topic New Topic Locked Topic Sticky Topic Hidden |
Controllo chiamante |
Post Reply
|
| Author | |
bob3m
Utente Senior
Joined: 30/Set/2011 Location: Gorizia Status: Offline Points: 435 |
Post Options
Thanks(0)
Quote Reply
Topic: Controllo chiamantePosted: 23/Mag/2012 at 16:09 |
|
Ciao a tutti,
in una maschera ho creato una Private Sub che la vado a chiamare in certe condizioni da alcuni controlli presenti nella stessa maschera. C'è la possibilità di sapere che controllo ha chiamato la Sub?
|
|
![]() |
|
@Alex
Utente Onorario
Joined: 09/Apr/2012 Location: Mantova Status: Offline Points: 831 |
Post Options
Thanks(0)
Quote Reply
Posted: 23/Mag/2012 at 16:28 |
|
Dipende da come chiami la Sub...
Sostanzialmente il modo migliore è che la Sub abbia un parametro...(NomeChiamante) e tu quando la richiami lo inserisci... Non puoi usare ActiveControl in quanto non è detto che il controllo che chiama la sub sia quello attivo. |
|
|
Non SUPPORTO il CROSSPOST.
http://mirror.masterdrive.it/alessandrobaraldi/ Scaricare i DEMO modificando l'Estensione. |
|
![]() |
|
bob3m
Utente Senior
Joined: 30/Set/2011 Location: Gorizia Status: Offline Points: 435 |
Post Options
Thanks(0)
Quote Reply
Posted: 23/Mag/2012 at 17:39 |
In effetti proprio ActiveControl volevo usare ma ho fatto la tua stessa riflessione mmm... niente... gli passo il nome del controllo "manualmente" e amen Grazie Alex
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |