: 4399 | 106118 | 11884

In the InputBox is impossible to catch click "Cancel" 
Use this IdeaSpace to post ideas about Domino Designer.

: 8
: 8
: 0
: Domino Designer
: LS, lotusscript, InputBox, click, cancel
: Vlad Sh10117 15 Jun 2011
:
: / Email
I suggest to return an empty string ("") only when the input field is empty and has been press "Ok".
On "Cancel" I propose to return Empty (it's possible, since in DDHelp stated: "The InputBox function returns a Variant containing a string."), then we can verify the result using IsEmpty().  
 
Added:
There are 2 variants: InputBox (returns Variant) and InputBox$ (returns String). So in the first case, we would like to have full-fledged Variant, rather than "Variant containing a string".



1) Dave Navarre339 (20 Jun 2011)
Why not use the NotesUIWorkspace method, Prompt, instead, which already has this behaviour?
2) Vlad Sh10117 (22 Jun 2011)
I want to InputBox / InputBox$ worked by analogy with other Function / Function$: Function returns a pure Variant, and Function$ - String.
3) Dave Navarre339 (22 Jun 2011)
Ah, yes. It does look like InputBox violates the standard. All other functions seem to return an actual variant of the DataType rather than a variant containing the DataType. Changing my vote.

Chr returns a Variant of DataType 8 (String). Chr$ returns a String.
Date returns that value as a Variant of DataType 7 (Date/Time). Date$ returns that value as a String.
Dir returns a Variant of DataType 8 (String), and Dir$ returns a String.
Error returns a Variant, and Error$ returns a String.
Left returns a Variant of DataType 8 (a String), and Left$ returns a String.
et cetera, et cetera
4) Vlad Sh10117 (23 Jun 2011)
Thanks, Dave!










:
:

Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


3
Add server and database as optional parameters for @GetProfileField and @SetProfileField
8
Have an option to copy an URL from an e-mail (or other)
-1
System wide Web Query Save
0
Design Element PostSave event
56
Please update Domino to fully support TLS (SSL v3.1)
4
Integrated ICS OneUI Editor for Designer
6
Agent context menu in editor tab eg. "Run Agent"
55
When deleting user, delete archive & roaming files as well as mail file
12
Set properties for all selected Forms







IdeaJam developed by