Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [questions] focus to a control + default submit button
1:
code: //7 = WM_SETFOCUS
PlusWnd.SendControlMessage('ControlId', 7, 0, 0);
2:
code: <Control xsi:type="ButtonControl" Id="BtnCancel">
<Position Top="0" Width="50" Left="0"/>
<Caption>&Cancel</Caption>
//Make this button that is clicked when user presses Enter key
<Attributes><IsDefault>true</IsDefault></Attributes>
</Control>
This post was edited on 06-27-2006 at 07:26 AM by Eljay.
|
|