Jump to content

Recommended Posts

Posted

Hello everyone .

 

Is it possible to set_tile to 1 when a user type any char or number in the edit_box in the same DCL file ?

 

Thanks in advance .:)

Posted

Either I did not get it or my first post wasn't clear enough . :D

 

I am looking forward to check the toggle (Each) on when a user start typing in the edit box

.

Untitled-1.jpg

 

Thanks

Posted
Either I did not get it or my first post wasn't clear enough . :D

 

I am looking forward to check the toggle (Each) on when a user start typing in the edit box

 

I understood - my post details the callback $reasons applicable to a DCL edit_box and provides an example program to help you understand the events that trigger the various callback $reason values.

Posted

The $reason value is always return 2 in all cases that I have tried it at least , and I couldn't find it in Help Document to read more about it or to know what is your essential goal in that post as well . :?

Guest kruuger
Posted
Either I did not get it or my first post wasn't clear enough . :D

 

I am looking forward to check the toggle (Each) on when a user start typing in the edit box

.

[ATTACH=CONFIG]38220[/ATTACH]

 

Thanks

to check toggle you need to tap TAB or ENTER first when leaving edit_box. there is no way to "dynamically" check what is entered in edit_box.

http://exchange.autodesk.com/autocadarchitecture/enu/online-help/ARCHDESK/2012/ENU/pages/WS73099cc142f4875516d84be10ebc87a53f-7aa3.htm

kruuger

Posted
The $reason value is always return 2 in all cases that I have tried it at least , and I couldn't find it in Help Document to read more about it or to know what is your essential goal in that post as well . :?

 

The $reason variable will hold a value of 1 if the user 'submits' the contents of the edit_box tile (i.e. by pressing Enter whilst the edit_box has focus), and will have a value of 2 if the edit_box loses focus without the user submitting the contents (i.e. if another tile takes focus). This behaviour was demonstrated by my example program in the post to which I linked, accompanied by a brief explanation of the callback $reason values.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...