sisa
Jan 16, 2013, 10:05 AM
Hi again...
We're still migrating old ext.net 1 code :-/
Now we struggle in some problems with the KeyBinding.
Is there a replacement for (StopEvent)
KeyBinding.StopEvent
and this construct (Listeners)
If buttonItem.Menu.Count > 0 Then
newKeyBinding.
newKeyBinding.Listeners.Event.Handler = "#{" + buttonItem.ID + "}.showMenu();"
Else
newKeyBinding.Listeners.Event.Handler = "if(!#{" + buttonItem.ID + "}.hidden){#{" + buttonItem.ID + "}.fireEvent('click');};"
End If
Peter
We're still migrating old ext.net 1 code :-/
Now we struggle in some problems with the KeyBinding.
Is there a replacement for (StopEvent)
KeyBinding.StopEvent
and this construct (Listeners)
If buttonItem.Menu.Count > 0 Then
newKeyBinding.
newKeyBinding.Listeners.Event.Handler = "#{" + buttonItem.ID + "}.showMenu();"
Else
newKeyBinding.Listeners.Event.Handler = "if(!#{" + buttonItem.ID + "}.hidden){#{" + buttonItem.ID + "}.fireEvent('click');};"
End If
Peter