Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

in a dialog, make <enter> the same as <tab>?

35 REPLIES 35
Reply
Message 1 of 36
Jtrostad
539 Views, 35 Replies

in a dialog, make <enter> the same as <tab>?

How do you do it?
-J-
35 REPLIES 35
Message 21 of 36
Anonymous
in reply to: Jtrostad

BTW, if anyone is interested; there is way to deal with the situation when
the next tile is disabled and also a way to set up the next tile stuff so it
works "behind the scenes" without writing this code for each callback (or
even calling a generic function). If interested, start a new thread 'cause
this one may not be here tomorrow.
--
Cliff Middleton
Message 22 of 36
Jtrostad
in reply to: Jtrostad

As the author of this question, I feel I must speak out.
I don't mind if someone "shamelessly 'recommends'" software.
What I really hate though, is the flame-fest that seems to to be trailing a legit answer to my question, product-or-no.
I really hate having to look at 18 replys, only to find 2 solutions! If you don't like Chad's answer, post a different one, like Cliff did. Don't whine!!!!

-J-
Message 23 of 36
Anonymous
in reply to: Jtrostad

>Don't
whine!!!!

 

I wouldn't consider anyone that had been
involved with this thread (to this point) a whiner.

 

-Jason


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
As
the author of this question, I feel I must speak out.
I don't mind if
someone "shamelessly 'recommends'" software.
What I really hate though, is
the flame-fest that seems to to be trailing a legit answer to my question,
product-or-no.
I really hate having to look at 18 replys, only to find 2
solutions! If you don't like Chad's answer, post a different one, like Cliff
did. Don't whine!!!!

-J-

Message 24 of 36
Anonymous
in reply to: Jtrostad

God forbid you should have to read more than one post to find what
you're looking for.

--
"That's no ordinary rabbit."
http://www.acadx.com


"Jtrostad" wrote in message
news:f08eb62.20@WebX.maYIadrTaRb...
As the author of this question, I feel I must speak out.
Message 25 of 36
Jtrostad
in reply to: Jtrostad

Frank said:"God forbid you should have to read more than one post to find what
you're looking for."

That's not what I meant. I don't mind looking through postings to find a solution, if they are teaching me something. But I don't see why I must dig through a flame-fest, or a private argument on the merits of product plugging just because someone did it here. If his product is a solution to my problem, so be it. Why should I be forced to sit through a political debate, when I didn't ask about politics?
-J-
Message 26 of 36
Anonymous
in reply to: Jtrostad

>Why should I be forced to sit through a political debate, when I didn't ask
about politics?

Simple. It is because the two taboo topics (religion and politics) are also
essential.

Besides, I like to get to know the people here a bit and these types of
discussion reveal character. Enjoy.
--
Cliff
Message 27 of 36
Jtrostad
in reply to: Jtrostad

Point.

Apologies to any offended by the "whine" post.
-J-
Message 28 of 36
Anonymous
in reply to: Jtrostad

Cliff~
I have no character, so what group do I fall under.

--
Ed Braam
A2k/Win2k
A Christian and am a member of the 'custom' party.


"Cliff Middleton" wrote in message
news:8A32507406E49DB27DC6DD02F2275219@in.WebX.maYIadrTaRb...
> >Why should I be forced to sit through a political debate, when I didn't ask
> about politics?
>
> Simple. It is because the two taboo topics (religion and politics) are also
> essential.
>
> Besides, I like to get to know the people here a bit and these types of
> discussion reveal character. Enjoy.
> --
> Cliff
Message 29 of 36
Anonymous
in reply to: Jtrostad

>I have no character...

Then I can only conclude that you do not exist.
--
Cliff
Message 30 of 36
Anonymous
in reply to: Jtrostad

"Frank Oquendo" wrote in message
news:102942D76CD060AC219831F8AEB51987@in.WebX.maYIadrTaRb...
> After all, I doubt there's a whole bunch of us providing our programming
> skills to our employers for free, so we're *all* in this to make money.
>
> And yes; my banner is attached to this message.
>
> --
> http://www.acadx.com
> "That's no ordinary rabbit"

Okay, you got me on that one Frank.
-doug
---------------------------------------------
Douglas Barr, Chief Engineer
---------------------------------------------
Province Automation, Inc.
---------------------------------------------
In our 22nd year designing and
manufacturing Custom Industrial Assembly
and Materials-Handling Equipment for
Fortune-500 companies the world over.
--------------------------------------------
for more information, e-mail me direct.
--------------------------------------------
Message 31 of 36
Anonymous
in reply to: Jtrostad

I'm all for shameless plugging. Especially when someone shamelessly plugs
themselves by posting code that's better than the code that the first
bonehead posted 🙂
--
Bobby C. Jones
http://www.acadx.com
Message 32 of 36
Anonymous
in reply to: Jtrostad

Jeez! Been away for a while, and I can't believe that I had to read
umpty-two dubious responses before I came upon yours. Thank you, Cliff!

I've done similar things for a particular client, but using a (cond ...)
form to direct the focus. No big deal.

--
John Uhden, Cadlantic/formerly CADvantage
--> mailto:juhden@cadlantic.com
--> http://www.cadlantic.com
2 Village Road
Sea Girt, NJ 08750
Tel. 732-974-1711
FAX 732-528-1332

"Cliff Middleton" wrote in message
news:BF9A1AFB5D5E6C3A057A19CE5A5E0AD5@in.WebX.maYIadrTaRb...
> Give tile definitions a user-defined attribute (for example, next)
> containing the key name of the tile you want to jump to. For example:
>
> :edit_box {key="key1"; next="key2";}
>
> In the call-back function for "key1", check the value of the next
attribute
> and $reason. A value of 1 means the user pressed enter. Thusly...
>
> (setq next-tile (get_attr $key "next"))
> (if (and (= 1 $reason) (/= "" next-tile))
> (mode_tile next-tile 2)
> )
Message 33 of 36
confetti
in reply to: Jtrostad

I consider Kevin Nehls a 'whiner' and has the wrong information (cwanless has for the most
part mentioned his product in his posting but not always, if your going to make a blanket statement like that
at lease get it correct).
Also the majority of the most insightful and intelligent threads on this discussion group come
from people that have there own web site/product and mention it in some way in the message.
I have no problem with anyone saying 'there product solves my problem' and anyone that does I think will be
doomed to live in a limited universe. Autodesk cannot and will not address everyone's concerns.
I personally have many add-ons that I have developed and bought from many of the people in this discussion group,
and they are great.
Keep telling me what your products does and where to find it.
Message 34 of 36
Anonymous
in reply to: Jtrostad

If we have a default button on the form, will it
mess things up? If so, we should not use the
standard ok (if it's default button, I don't
remember exactly), but rather just make one
ourselves without that attribute.

Great thinking, Bobby! 🙂

--
Have fun, 🙂
Vlad http://vnestr.tripod.com/
(define (list . args) args)



Cliff Middleton wrote in message
news:BF9A1AFB5D5E6C3A057A19CE5A5E0AD5@in.WebX.maYIadrTaRb...
> Give tile definitions a user-defined attribute (for example, next)
> containing the key name of the tile you want to jump to. For example:
>
> :edit_box {key="key1"; next="key2";}
>
> In the call-back function for "key1", check the value of the next
attribute
> and $reason. A value of 1 means the user pressed enter. Thusly...
>
> (setq next-tile (get_attr $key "next"))
> (if (and (= 1 $reason) (/= "" next-tile))
> (mode_tile next-tile 2)
> )
>
> --
> Cliff
>
>
>
>
> "Jtrostad" wrote in message
> news:f08eb62.-1@WebX.maYIadrTaRb...
> | How do you do it?
> | -J-
> |
>
>
Message 35 of 36
Anonymous
in reply to: Jtrostad

| If we have a default button on the form, will it
| mess things up?

Good question, Vlad. I don't know. I don't pay much attention to it. I
should mention that I use the same "action" argument to all new_dialog
calls. This function contains the code to move the focus and checks to see
if the current tile has a subr associated with it to run application
specific tasks relating to that tile.
--
Cliff
Message 36 of 36
Anonymous
in reply to: Jtrostad

Looks like you're a real expert on DCL, Cliff!
(at least I've got your name right this time, huh?). 🙂

Great job!
--
Have fun, 🙂
Vlad http://vnestr.tripod.com/
(define (average . args)
(if args (/ (apply '+ args) (length args))))



Cliff Middleton wrote in message
news:E544C062AA99355D0F7DA9878F8A0BE5@in.WebX.maYIadrTaRb...
> | If we have a default button on the form, will it
> | mess things up?
>
> Good question, Vlad. I don't know. I don't pay much attention to it. I
> should mention that I use the same "action" argument to all new_dialog
> calls. This function contains the code to move the focus and checks to
see
> if the current tile has a subr associated with it to run application
> specific tasks relating to that tile.
> --
> Cliff
>
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost