Hi i got a problem with a widget.
I bind the About View on the right Soft Key and when I start the Widget it does not show the view when i klick on it.I know it runs through the function because the SoftKey changes to OK.
But when i just tab on the screen anywhere then the view changes.
If I tab on the screen before or klicked on any item before it will work without any problems this is really strange.
I have already tested it with some more code so do not wonder about it:

<code>
function init()
{
if (window.widget) {
widget.setDisplayPortrait();
}
setAbout();
hideAboutView();
return false;
}
function hideAboutView()
{
document.getElementById("mainview").style.display = 'block';
document.getElementById("musicfinder").style.display = 'none';
document.getElementById("about").style.display = 'none';
}
function setAbout()
{
menu.setRightSoftkeyLabel("About", showAboutViewAction);
}
function showAboutViewAction()
{
showAboutView();
return true;
}
function showAboutView()
{
document.getElementById("mainview").style.display = 'none';
document.getElementById("musicfinder").style.display = 'none';
document.getElementById("about").style.display = 'block';
document.getElementById("mainview").style.display = 'none';
menu.setRightSoftkeyLabel("Ok", showMainView);
return false;
}
</code>

First i had it like this but also not working:

<code>
function init()
{
if (window.widget) {
widget.setDisplayPortrait();
}
menu.setRightSoftkeyLabel("About", showAboutView);

}
function showAboutView()
{
document.getElementById("mainview").style.display = 'none';
document.getElementById("musicfinder").style.display = 'none';
document.getElementById("about").style.display = 'block';
menu.setRightSoftkeyLabel("Ok", showMainView);
}
</code>
Does Any1 know if there is a solution for it?