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:57:22 +0100
  • Message-id: <20071122165722.GU23434@xxxxxxx>
Hi Again,

Lukas kindly reminded me that this is an english mailing list,
sorry for forgetting that.

Here my reply again in english:

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

Basically with the following:

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

AFAIK nothing gets preselected, if one uses a value with ChangeWidget
that does not exist in the table.

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 >
Follow Ups