Using SmartClient_SC_SNAPSHOT-2011-06-22_Pro I find I am unable to activate a ButtonItem via the keyboard. A regular IButton works fine.
In the example below, I can move focus from one button to the next and if I click on a button with the mouse it behaves correctly. But nothing I do with the keyboard (space, enter) will activate a form button. keydown and keypress event handlers don't seem to get called on these items either.
Andrew
Developer Console:
	Sample code (created with VisualBuilder):
	
							
						
					In the example below, I can move focus from one button to the next and if I click on a button with the mouse it behaves correctly. But nothing I do with the keyboard (space, enter) will activate a form button. keydown and keypress event handlers don't seem to get called on these items either.
Andrew
Developer Console:
Code:
	
	12:32:24.581:INFO:Log:initialized 12:32:24.581:WARN:Page:NOTE: isc.Page.getWidth() called before <BODY> tag was written out -- value cannot be determined. Returning 500 12:32:24.581:WARN:Page:NOTE: isc.Page.getHeight() called before <BODY> tag was written out -- value cannot be determined. Returning 500 12:32:25.066:INFO:Log:isc.Page is loaded 12:32:40.957:KPR7:WARN:deprecated:isc_globalWarn:Window.setButtons() method called. This has been deprecated in favor of Window.setToolbarButtons()
Code:
	
	<DynamicForm ID="DynamicForm0" autoDraw="false">
    <fields>
        <FormItem name="TextItem" constructor="TextItem"/>
        <FormItem name="ResetItem0" constructor="ResetItem"/>
        <FormItem name="SubmitItem0" constructor="SubmitItem"/>
        <FormItem name="ButtonItem" constructor="ButtonItem">
            <click><![CDATA[isc.say('hello from ButtonItem');]]></click>
</keyDown>
        </FormItem>
    </fields>
</DynamicForm>
<IButton ID="IButton0" autoDraw="false">
    <title>IButton</title>
    <click><![CDATA[isc.say('hello from IButton');]]></click>
</IButton>
<VLayout ID="VLayout0" autoDraw="false">
    <members><Canvas ref="DynamicForm0"/><Canvas ref="IButton0"/>
    </members>
</VLayout>
<DataView ID="DataView1" overflow="hidden" autoDraw="true">
    <members><Canvas ref="VLayout0"/>
    </members>
    <width>100%</width>
    <height>100%</height>
</DataView>