realbasic-nug.fr
[Top] [All Lists]

Re: Accéder à une de mes propriété de fenêtre

To: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Subject: Re: Accéder à une de mes propriété de fenêtre
From: Eric Ferrer <wonderfef@gmail.com>
Date: Wed, 29 Jul 2009 17:54:59 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com; dkim=pass (test mode) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=KQBjhZCfYuI7Eo9Qc9lDI7J8bzXO8rrDUhjW+g9HoA4=; b=n34Px9SqSajN5VlRujY1C9/ofGub0JjNI6RtN6gB81BLNmVK8BYcpYa9GmcwaKyxLC 5aLL9xpXNKr/MoOlZU3P30n3eHkBTyfk0M5Ypw+1JH/JQXSS8ygEmK2qzUEGgDYL5a+x 6LEG6ZSiuEAAvGxgbsFsn2DzVVD4OaZDSDd/A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=QjZMEA53RDDIo2tpkVYk3CRNcfQdotq/iORnRzpHkYE0nSNPtBtkmrlsdCBpO7If8s P0AJ6ih46KPYVNPA7xofY6mRQzjsrPZe0H1KTAgDS37/YH+NwGEuOF1bfyEcRNfrP7D1 OQhhbj8DyrqBl2zmBrthX8KSqfMkJcBohB6Ng=
In-reply-to: <2060869.59842.1248880947894.JavaMail.www@wwinf1621>
References: <2060869.59842.1248880947894.JavaMail.www@wwinf1621>
Reply-to: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Sender: realbasic-nug.fr-bounces@lists.realsoftware.com

Le 29 juil. 2009 à 17:22, emile.a.schwarz a écrit :

Comment puis-je lire cette propriété après avoir lancé le code d’Arnaud, genre

Dim w As Window
Dim w2 As Window1

If WindowCount>0 Then
w = window(0)
If w IsA Window1 Then
w2 = Window1(window(0))
End if
End if

MsgBox "Il y a " + Str(w2.foo) + " crocodiles dans le lac."


ça devrait marcher...

il faut juste que la propriété "foo" de Window1 soit publique


sinon, si ça ne marche pas, quel est le message d'erreur ?


Eric




<Prev in Thread] Current Thread [Next in Thread>