Since this morning my forms is appearing badly. Colums are overlapping so label are overlapping text box.
I compared various version export
And found in my latest export:
Code: Select all
$formOutilDeMiseEnProduct.Controls.Add($labelVersion05)
$formOutilDeMiseEnProduct.Controls.Add($labelDate)
$formOutilDeMiseEnProduct.Controls.Add($labelMEQ)
$formOutilDeMiseEnProduct.Controls.Add($labelFrançoisRacine)
$formOutilDeMiseEnProduct.Controls.Add($tab_MEP)
$formOutilDeMiseEnProduct.Controls.Add($buttonExit)
$formOutilDeMiseEnProduct.Controls.Add($LabelTcomplete)
$formOutilDeMiseEnProduct.Controls.Add($labelTraitementDesDonnées)
$formOutilDeMiseEnProduct.Controls.Add($TXTServeur)
$formOutilDeMiseEnProduct.Controls.Add($labelServeurDeSite)
$formOutilDeMiseEnProduct.Controls.Add($ComboBoxSiteProv)
$formOutilDeMiseEnProduct.Controls.Add($labelCodeDeSite)
$formOutilDeMiseEnProduct.Controls.Add($buttonQuitter)
$formOutilDeMiseEnProduct.Controls.Add($buttonMEP)
$formOutilDeMiseEnProduct.Controls.Add($buttonNext)
$formOutilDeMiseEnProduct.Controls.Add($buttonPrev)
[b]$formOutilDeMiseEnProduct.AutoScaleDimensions = New-Object System.Drawing.SizeF(96, 96)[/b]
$formOutilDeMiseEnProduct.AutoScaleMode = 'Dpi'
$formOutilDeMiseEnProduct.AutoScroll = $True
$formOutilDeMiseEnProduct.AutoSizeMode = 'GrowAndShrink'
$formOutilDeMiseEnProduct.ClientSize = New-Object System.Drawing.Size(1513, 784)
$formOutilDeMiseEnProduct.Name = 'formOutilDeMiseEnProduct'
$formOutilDeMiseEnProduct.StartPosition = 'CenterScreen'
$formOutilDeMiseEnProduct.Text = 'Outil de Mise En Production de trousses (OMEPt)'
$formOutilDeMiseEnProduct.add_Load($formOutilDeMiseEnProduct_Load)
Since a year I am maintaining this form. Yesterday, at office on my PC it was looking good. Today the export from yesterday on my laptop and PC everything is almost fine. But if I run from Powershell studio or export the issue is appearing. The only difference is the AutoScaleDimensions setting.
I read from here:https://info.sapien.com/index.php/guis/ ... i-displays that I don't have to set it. OK so now what? Actually, after I export I get 120,120 instead 96,96. What should I do?
Thanks,