View Single Post
  #1  
Old 02-05-2019, 08:05
Jiva newstone's Avatar
Jiva newstone Jiva newstone is offline
Registered User
 
Join Date: Nov 2016
Location: India
Posts: 190
Thanks: 227
Thanked 412 Times in 96 Posts
Jiva newstone is on a distinguished road
Quote:
Originally Posted by buttignol View Post
I wanted to add '"MinimizePathName" in my script but the error "The folder name is invalid" added only this to the sript

Code:
procedure InitializeWizard();
begin
with WizardForm do begin
DirEdit.text := MinimizePathName(WizardForm.DirEdit.Text,WizardForm.DirEdit.Font,WizardForm.DirEdit.Width);
ComponentsDiskSpaceLabel.Visible := false;
BorderStyle := bsSingle;
Center;
end;
WizardForm.DirEdit.Text := WizardForm.DirEdit.Text + #0;
Can someone help with what's missing Thank you
try add font size and width size manually like as integer value , eg := font size = 12, width = 25
Reply With Quote
Sponsored Links