Mailinglist Archive: yast-devel (129 mails)

< Previous Next >
Re: [yast-devel] How to preselect a table entry?
  • From: Thomas Fehr <fehr@xxxxxxx>
  • Date: Thu, 22 Nov 2007 17:59:50 +0100
  • Message-id: <20071122165950.GW23434@xxxxxxx>
On Thu, Nov 22, Johannes Meixner wrote:


Hello,

On Nov 22 17:44 Martin Vidner wrote (shortened):
On Thu, Nov 22, 2007 at 05:31:26PM +0100, Johannes Meixner wrote:
how can I have a particular table entry preselected like
an entry in a SelectionBox?

UI::ChangeWidget (`id(`mytable), `CurrentItem, item_id);

Thanks!

It looks a bit like a workaround because I liked to get the
table initially shown with the right preselected entry
and not change it afterwards but I hope it is fast enough
so that the user doesn't notice it.

If you know the item_id you can call ChangeWidget even before
the table gets visible.

Tschuess,
Thomas Fehr
--
Thomas Fehr, SuSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Markus Rex, HRB 16746 (AG N├╝rnberg)
Tel: +49-911-74053-0, Fax: +49-911-74053-482, Email: fehr@xxxxxxx
GPG public key available.
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >