[quote author=Fu-Kwun Hwang link=topic=1088.msg4171#msg4171 date=1240831337]
[s]Add [b]_view.presets_combo.setSelectedIndex(0);[/b] to your initialization page should fix the problem.[/s]
Sorry! it is not working. There is another problem!

What you should do is add _view.presets_combo.setSelectedIndex(0); in action property for reset button
change the reset button from
[code]
_reset();
[/code]
to
[code]
_reset();
_view.presets_combo.setSelectedIndex(0);
[/code]
[/quote]

World best tips, so simple and elegant advise. Thanks Prof Hwang ;D


[quote author=Fu-Kwun Hwang link=topic=1088.msg4171#msg4171 date=1240831337]
You will find all the available functions when you type in [b]_view.presets_combo.[/b]
That is the way I found the above solution!
[/quote]
Yes! i just realized about this year of these special functions syntax, after tinkering with Christian Wolfgang's codes in the default Ejs installations examples.

But i don't see any documentation on this on http://www.um.es/fem/EjsWiki/index.php/Main/HomePage. Maybe it is too new?


[quote author=Fu-Kwun Hwang link=topic=1088.msg4171#msg4171 date=1240831337]
By the way, you programming skill is getting better and better.
[/quote]

Nah, those codes are Michael's and Wolfgang's, i still beginner level! LOL ;)