Skip to main content

Pound key (#) always displays log

1 reply [Last post]
Anonymous

Is there any way to disable the # key from showing the log? It looks like the Form class will call Log.showLog() anytime the # key is pressed. Can you guys change this default behavior?

Thanks for this great library, perfect alternative to the other options out there.

thanks,
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi Mark,
its already disabled in the next code drop. The best I can offer as a
workaround for now is to derive Form and override keyReleased as such:
public void keyReleased(int keyCode) {
if(keyCode != '#') {
super.keyReleased(keyCode);
}
}

Thanks,
Shai.

> Is there any way to disable the # key from showing the log? It
> looks like the Form class will call Log.showLog() anytime the # key
> is pressed. Can you guys change this default behavior?
>
> Thanks for this great library, perfect alternative to the other
> options out there.
>
> thanks,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net