<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DCL - How to make [return] key work? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323535#M26572</link>
    <description>Sebastian&lt;BR /&gt;
&lt;BR /&gt;
I think that the allow_accept = true; attribute added to the edit box def in &lt;BR /&gt;
the dcl file might do it, when the edit box has focus&lt;BR /&gt;
&lt;BR /&gt;
Laurence&lt;BR /&gt;
&lt;BR /&gt;
&lt;B-O-S-S&gt; wrote in message news:4842561@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
in my custom dcl-driven dialogs, how can I make the [return] key work? I'm &lt;BR /&gt;
using ObjectArx 2005.&lt;BR /&gt;
&lt;BR /&gt;
More specifically, I've got an edit box, where the user can input something &lt;BR /&gt;
and needs to issue the action by clicking on a button. This is quite &lt;BR /&gt;
uncomfortable, since most people will try to press the [return]  key to &lt;BR /&gt;
commence the action. Unfortunately this doesn't work, since the focus is &lt;BR /&gt;
still on the edit box. (It is possible to press [tab] and then [return], but &lt;BR /&gt;
this also isn't very nice...)&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to "connect" the [return] key to a specific button, when &lt;BR /&gt;
pressed inside an edit box?&lt;BR /&gt;
&lt;BR /&gt;
This issue is bugging me for a long time, so I would be very glad if someone &lt;BR /&gt;
had any idea on this.&lt;BR /&gt;
&lt;BR /&gt;
(Yes, I know, don't use dcl dialogs, but well, I like them &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sebastian&lt;/B-O-S-S&gt;</description>
    <pubDate>Thu, 12 May 2005 16:13:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-05-12T16:13:30Z</dc:date>
    <item>
      <title>DCL - How to make [return] key work?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323534#M26571</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
in my custom dcl-driven dialogs, how can I make the [return] key work? I'm using ObjectArx 2005.&lt;BR /&gt;
&lt;BR /&gt;
More specifically, I've got an edit box, where the user can input something and needs to issue the action by clicking on a button. This is quite uncomfortable, since most people will try to press the [return]  key to commence the action. Unfortunately this doesn't work, since the focus is still on the edit box. (It is possible to press [tab] and then [return], but this also isn't very nice...)&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to "connect" the [return] key to a specific button, when pressed inside an edit box?&lt;BR /&gt;
&lt;BR /&gt;
This issue is bugging me for a long time, so I would be very glad if someone had any idea on this.&lt;BR /&gt;
&lt;BR /&gt;
(Yes, I know, don't use dcl dialogs, but well, I like them &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sebastian</description>
      <pubDate>Thu, 12 May 2005 12:08:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323534#M26571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-12T12:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: DCL - How to make [return] key work?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323535#M26572</link>
      <description>Sebastian&lt;BR /&gt;
&lt;BR /&gt;
I think that the allow_accept = true; attribute added to the edit box def in &lt;BR /&gt;
the dcl file might do it, when the edit box has focus&lt;BR /&gt;
&lt;BR /&gt;
Laurence&lt;BR /&gt;
&lt;BR /&gt;
&lt;B-O-S-S&gt; wrote in message news:4842561@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
in my custom dcl-driven dialogs, how can I make the [return] key work? I'm &lt;BR /&gt;
using ObjectArx 2005.&lt;BR /&gt;
&lt;BR /&gt;
More specifically, I've got an edit box, where the user can input something &lt;BR /&gt;
and needs to issue the action by clicking on a button. This is quite &lt;BR /&gt;
uncomfortable, since most people will try to press the [return]  key to &lt;BR /&gt;
commence the action. Unfortunately this doesn't work, since the focus is &lt;BR /&gt;
still on the edit box. (It is possible to press [tab] and then [return], but &lt;BR /&gt;
this also isn't very nice...)&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to "connect" the [return] key to a specific button, when &lt;BR /&gt;
pressed inside an edit box?&lt;BR /&gt;
&lt;BR /&gt;
This issue is bugging me for a long time, so I would be very glad if someone &lt;BR /&gt;
had any idea on this.&lt;BR /&gt;
&lt;BR /&gt;
(Yes, I know, don't use dcl dialogs, but well, I like them &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sebastian&lt;/B-O-S-S&gt;</description>
      <pubDate>Thu, 12 May 2005 16:13:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323535#M26572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-12T16:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: DCL - How to make [return] key work?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323536#M26573</link>
      <description>Thanks Laurence,&lt;BR /&gt;
&lt;BR /&gt;
this works! Wonder why I never stumbled over this attribute when reading the docs...&lt;BR /&gt;
&lt;BR /&gt;
There's a big caveat however. Only one button (the one where is_default = true) can be "connected" to the [return] key. What if I had multiple edit boxes with multiple corresponding buttons? I havn't however &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 13 May 2005 06:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323536#M26573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-13T06:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: DCL - How to make [return] key work?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323537#M26574</link>
      <description>I use DCL Code Generator v2 to build DCL files, it is much quicker and shows &lt;BR /&gt;
all the attributes, might be worth a look if you are going to use DCL files.&lt;BR /&gt;
&lt;BR /&gt;
The  allow_accept on edit boxes just fires the  action tile "accept" or &lt;BR /&gt;
whatever key you use for the default button, so yes you can only connect one &lt;BR /&gt;
function to the action. I must say I only use DCL when using lisp, I use MFC &lt;BR /&gt;
Dialogs when using ARX.&lt;BR /&gt;
&lt;BR /&gt;
Laurence&lt;BR /&gt;
&lt;BR /&gt;
&lt;B-O-S-S&gt; wrote in message news:4843957@discussion.autodesk.com...&lt;BR /&gt;
Thanks Laurence,&lt;BR /&gt;
&lt;BR /&gt;
this works! Wonder why I never stumbled over this attribute when reading the &lt;BR /&gt;
docs...&lt;BR /&gt;
&lt;BR /&gt;
There's a big caveat however. Only one button (the one where is_default = &lt;BR /&gt;
true) can be "connected" to the [return] key. What if I had multiple edit &lt;BR /&gt;
boxes with multiple corresponding buttons? I havn't however &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/B-O-S-S&gt;</description>
      <pubDate>Fri, 13 May 2005 07:33:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/dcl-how-to-make-return-key-work/m-p/1323537#M26574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-13T07:33:57Z</dc:date>
    </item>
  </channel>
</rss>

