Pop-Up Window

sabzam
Member Posts: 1,149
Hi Everybody,
I'd like to create a pop-up window, similar to the one release when using the Confirm but this time the user instead of pressin Ok or Cancel enters a figure. Is this possible?
I'd like to create a pop-up window, similar to the one release when using the Confirm but this time the user instead of pressin Ok or Cancel enters a figure. Is this possible?
0
Comments
-
Only other method of receiving e/u input would be to use a dialog.
Here is some code that I dug up from a form I made: (Sorry I'm running late and don't have time to whip something up more descriptive.)//Text003 = Enter Upperbound Date: #1######\ \(Hit 'Enter' to apply custom date.) IF gCustomDate = 0D THEN gCustomDate := TODAY ELSE gCustomDate := gDateValue[ARRAYLEN(gDateValue)]; lInputDialog.OPEN(Text003); REPEAT lInputDialog.INPUT(1,gCustomDate); IF gCustomDate > TODAY THEN BEEP(1000,200); UNTIL gCustomDate <= TODAY; UpdateDate(gCustomDate);
0 -
Create a form, let's call it Form001. Create a textfield, source is an integer tmpInt. Also have a function getTmpInt() that returns this value.
In your code have this form as a variable.//code, code, code. then... form001.RUNMODAL; desiredValue := form001.getTmpInt;
0 -
I never used the dialog for entering data. The dialog has some "features" I do not like... 8)
Better is to use Report for that - just use the request form to collect the data, use function to return them to calling object and you are done... and you do not need to use Form ID and you can edit the report just with the report designer...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