Hi Tim!
On 21 ÉÀÎ 10 at 21:09, "Tim" (Tim Gimmel) wrote:
Tim> Dmitry, Hope you are well; I am working on a simple little scrip
Tim> using VB and have a question. How do I access properties of other
Tim> objects besides posting messages? For example, if I click a button,
Tim> I want to change the "visible" property of a label, but for the life
Tim> of me I cannot find a way access another objects property. The only
Tim> way I have found is to post a message to the label and then check the
Tim> message (onPostMessage). What am I missing.
Tim> What I really wanted to do was build the form using VB, then have VB
Tim> write out the code as a .pl and go from there. However I have the
Tim> same issues inside the generated code. It is not clear the names of
Tim> the different objects (at least not clear to me,lol) and a
Tim> straightforward way to call them.
Hi Tim,
Try something like $self->owner->Label1->visible(0) (if $self is a button, f.ex)
-- Sincerely, Dmitry KarasikReceived on Thu 24 Jun 2010 - 00:53:25 CEST
This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET