Message 1 of 2
Problem with initializewindow

Not applicable
12-05-2014
02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
When I agree some code in the initializewindow from the "default.ps1" file, the "new standard folder" option dont works.
function InitializeWindow { $dsWindow.Width = 700 $dsWindow.Height = 550 $dsWindow.FindName("comboboxNum").SelectedIndex=0 }
-What is the problem?
-How can we initialize variables,combobox(with a specific index), call functions...etc from default.ps1 (InitializeWindow)?
Thank you very much,
Best regards.
Denis.