All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.3.0 - 2018-03-04
Added New-Prompt as an alias for New-AnyBoxPrompt. New parameters include:
-Tab: show prompts in a tab control view.-Group: group prompts in a group box.-FontSize,-FontFamily,-FontColor,-Alignment: allows the ability to have prompts of different sizes, colors, etc.-ShowSetAs: controls how a set (specified by-ValidateSetis displayed). The default is a dropdown (combo) box, but users can specify 'Radio' or 'Radio_Wide'.-RadioGroup: When-ShowSetAsis one of 'Radio' or 'Radio_Wide', each set of options in-ValidateSetis in one group. Use-RadioGroupto designate the group to which a set of radio buttons belongs.-ShowSeparator: When specified, a horizontal line is shown beneath the prompt.-Collapsible: When specified, the prompt is shown within a collapsible expander control.
New parameters for Show-AnyBox include:
-MaxHeight,-MaxWidth: used to control the maximum size of the window.-CollapsibleGroups: if specified and prompt group(s) are specified, the groups are placed in a collapsible expander control, rather than a group box.-AccentColor: controls the color of lines in group boxes, expander boxes, and separator lines.-PrepScript: accepts a script block to run before the window is shown.
New function New-AnyBoxButton (alias New-Button) to wrap around the new object type AnyBox.Button. Parameters for this function include:
-Name: the unique key name for the button.-Text: the text to display on the button. If-Nameis not specified, the value for-Textserves as the key.-IsCancel: designates the button to serve as the cancel button.-IsDefault: designates the button to serve as the default button.-OnClick: accepts a script block to run when the button is clicked.
-ContentAlignmentnow defaults to 'Left'.-FontSizenow defaults to '12'.
- Extended
AnyBox.Promptclass to includeNameproperty to use as an identifier in the output (defaults to "Input_#"). - Added
-Nameparameter to theAnyBox.Promptwrapper functionNew-AnyBoxPrompt.
New-AnyBoxPromptfunction wrapper around theAnyBox.Promptclass. It includes a new parameter,-MessagePosition, which specifies whether to print the prompt message above or beside the input control (default='Top').- When
-GridDatais provided, DataGrid now fills all available space when window is resized. -GridAsListparameter as a shortcut forConvertTo-Long.
- Initial release