Creating help in a form
hi,
i need writing in form , have informations put in help.
i tried, error @ end indicationg @ missing:
$x = @"
-nom du produit tel que publié par le fabricant
- ne doit pas contenir d'espace
- débuter les mots avec des majuscules exemple: office
"@
$helpprovider1.sethelpstring($txtnomlogiciel, $x)
also, give try text not format , box off form because string long.
$helpprovider1.sethelpstring($txtnomlogiciel, "-nom du produit tel que publié par le fabricant
- ne doit pas contenir d'espace - débuter les mots avec des majuscules exemple: office")
what should do?
$helpprovider1 = new-object system.windows.forms.helpprovider $x = "" $x +="`n" $x +=" - nom du produit tel que publié par le fabricant`n" $x +=" - ne doit pas contenir d'espace`n" $x +=" - débuter les mots avec des majuscules exemple: office`n" $x +="" $helpprovider1.setshowhelp($txtnomlogiciel, $true) $helpprovider1.sethelpstring($txtnomlogiciel, $x)
while in $txtnomlogiciel, pressing f1, gave this
Windows Server > Windows PowerShell
Comments
Post a Comment