How to access and edit widget...

From: lanas <lanas_at_securenet.net>
Date: Thu, 15 Sep 2005 20:14:58 -0400
To: prima_at_prima.eu.org

Hello everyone,

  How do we access an Edit widget located inside a TabbedNotebook ?

  Still following Dmitri's example of parallel processing using pipes and
moving it to a VB-based example, I tried:

$form->Edit1->insert_text($what . "\n");
$form->Edit1->cursor_down;

And then we have:

Unknown widget or method "Prima::Window::Edit1" at ./async-GUI-3.pl line 32

So it could very well be that the Edit widget is child of the TabbedNotebook,
so I tried:

$form->TabbedNotebook1->Edit1->insert_text($what . "\n");
$form->TabbedNotebook1->Edit1->cursor_down;

But this gives:

Unknown widget or method "Prima::TabbedNotebook::Edit1" at ./async-GUI-3.pl
line 32

In these examples, $form is what's return by VBLoader.

Thanks for any suggestions,

Al
Received on Fri 16 Sep 2005 - 02:04:01 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET