How Can i get the KeyPressEventArgs
VE024
Member Posts: 17
Hi All,
In our Navision is it possible to get KeyPressEventArgs. Is there any ocx or automation to get KeyPressEventArgs in C/SIDE.
Thanks,
VE024. :-k
In our Navision is it possible to get KeyPressEventArgs. Is there any ocx or automation to get KeyPressEventArgs in C/SIDE.
Thanks,
VE024. :-k
0
Comments
-
1) Why you need that? (may be there is another way around)
2) You can use Automation, but how to catch the event and call trigger in NAV is for separate post or good candidate for searching the forum for "how to create automation with events" for NAV.0 -
Hi Kine,
I need to get the value in OnAfterInput() Trigger itself, but Our Navision we are getting the value in OnValidate() Trigger Only. Is it possible to get the value in OnAfterInput() Trigger.
Thanks,
Naidu. ](*,)0 -
Still, the question is, why you need that...
In common NAV use you do not need that. It is why I am asking... 8)0 -
Hi kine,
I need to filter the Items in POS. For Example
when the customer type a letter 'S' into TextBox then the Items automatically filter with starting letter 'S' after that he type letter 'SO' into TextBox then the items filter with starting letter 'SO' like wise... I need to filter.
Thanks,
Naidu. ](*,)0 -
Yes, I understand, you need the same functionality like the new lookup in NAV 2009 RTC...
You can try to use timer for that. It can have side-effects, but try this:
Add Timer to the form. Into the event of the timer you can add:CurrForm.UPDATE(true); SetFilters;
the first line will "validate" the value in the editbox. Second one can use the value in the edit box for filtering the table. After that, the editbox will be in "selected" state (all text there will be selected), it means when user will continue in writing, he will overwrite the value. You need to take this into account and solve it somehow (e.g. you can add what he wrote into some variable and use this variable to filter, than you need to add some button which will clear this variable to start new search)
Take that as hint how to do that, good will be to do that on special form for this purpose...0 -
Do you make it right, it works too!0
-
Hi kine,
Thanks for the suggestion....
Thanks,
Naidu. :-k0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
