Input page Nav2009

DavideVD
Member Posts: 4
Hi to all,
as you have seen, running Nav2009, some old code is now "obsolete".
My question is:
How can I realize a page with the same behavior of dialog.Input command in NAV5.0 (now unsupported)? ](*,)
Ty very much
as you have seen, running Nav2009, some old code is now "obsolete".
My question is:
How can I realize a page with the same behavior of dialog.Input command in NAV5.0 (now unsupported)? ](*,)
Ty very much
0
Comments
-
it all depends on what you want to do: what is the need of having it in the original form?
was the original form a list or a card?(if card, just add a textbox)
how the user make the dialog pop up?(validate, assistedit, onpush)
what do you want to do with it?0 -
I want to simulate the page of input work date. I'd like to have the same appearance and result.
In previous version of Navision you could use the command dialog. input (i.e windows.INPUT(par1...parn)) to let the user isnet a value, without using a form.
Now, in Dynamics 2009 SP1, this function is Obsolete (like SHELL)
What I have in mind is a simple page with 2 button (If possible in the lower part of the page) with fixed dimensions (IF possible) and an INPUT field in the middle...nothing more
Thank you0 -
Davide have you though about client add-in?
developing an easy add-in to pop up an input message would be pretty easy...Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
the role center page is always open when using RTC, so, why don't click then top-left button "microsoft dynamics NAV", Set work date... ?does the users change the workdate so frequently??
P.S.: the add-in solution is more fun to do0 -
the role center page is always open when using RTC, so, why don't click then top-left button "microsoft dynamics NAV", Set work date... ?does the users change the workdate so frequently??
This was an exemple of the result wanted :shock:
PureHeart (nice nick),what do you mean with " client add-in"? Something outside navision to insert a simple value? :-k
Is there nothing integrated in navision page or other stuff already supported?0 -
ThanksIs there nothing integrated in navision page or other stuff already supported?
Here you can find all the info...
http://msdn.microsoft.com/en-us/library/dd983815.aspxWhy don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
You can also create an unbound card page, with a single textbox with a variable, in onopenpage you populate the variable with workdate, and in the onclosepage, you modify the workdate based on the new value of the variable.
about the bottom buttons, i guess that you can play with InFooterBar property of the actions, but i've never used it, just try it!0 -
MSDialog is dotnet Microsoft.VisualBasic.Interaction.'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
make the RunOnClient property to true.MyValue := MSDialog.InputBox('Please Enter Data','Title','',50,50); Message(MyValue);
0 -
ara3n wrote:MSDialog is dotnet Microsoft.VisualBasic.Interaction.'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
make the RunOnClient property to true.MyValue := MSDialog.InputBox('Please Enter Data','Title','',50,50); Message(MyValue);
Fantastic thanks!Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
Using DotNet variable along with InputBox VB interaction is smart but how to keep the dialog box centered on the screen?
To be able to do so I should leave the last two parameters blank (XPos and YPos). However by doing so I get the following C/AL error message during compiling: "When the funcion is called, the minium numer of parameters should be used. For example:..."
The syntax I am trying to use is: "TextDate := MSDialog.InputBox(Text002,Text003,'YY-MM-DD'); " or "TextDate := MSDialog.InputBox(Text002,Text003,'YY-MM-DD',,);" but none of them works.
I am using NAV 7.0.
Does any have any idea how to overcome this?0 -
you can use the screen width and divide it by half
http://msdn.microsoft.com/en-us/library ... width.aspx0 -
Is there any way to permanently allow this dotNet componnenent, so the user don't get this warning every day:
Microsoft Dynamics NAV
The Microsoft Dynamics NAV client needs permission to run Microsoft.VisualBasic.Interaction - an external component. While external components can be useful, they can potentially harm your computer. Only run external components from publishers that you trust. If you do not allow the component to run, then you may not have complete functionality.
Allow for this client session.
Do not allow for this client session.
Cancel OK
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions