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:46:23 +0100
  • Message-id: <20071122164623.GT23434@xxxxxxx>
On Thu, Nov 22, Johannes Meixner wrote:


Hello,

how can I have a particular table entry preselected like
an entry in a SelectionBox?

Im Primzip mit:

string tag = (string)UI::QueryWidget(`id(`table), `CurrentItem);
UI::ChangeWidget(`id(`table), `CurrentItem, tag );

AFAIK wird nicht preselected, wenn Du bei ChangeWidget einen
Wert angibts, der gar nicht vorkommt.

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 >
References