View Single Post
  #573  
Old 03-10-2017, 11:12
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 172 Times in 61 Posts
bunti_o4u is on a distinguished road
Need help on Next Button in case free space is less then required space

Quote:
Originally Posted by Chayan Manna View Post
Example of WinTB....
thnx winTB bug has been fixed.

I have another bug which causing the next button layout as enabled though next button is disabled.

Pl suggest the changes.

I am using the below code:

if (FreeMB<{#AppSize}) then begin
ButtonSetEnabled(NextBtn1, False);
FreeSpaceLabel.Font.Name:='Segoe UI SemiBold';
FreeSpaceLabel.Font.Color:=clRed;
end else begin
ButtonSetEnabled(NextBtn1, True);
FreeSpaceLabel.Font.Name:=PartitionSpaceLabel.Font .Name;
FreeSpaceLabel.Font.Color:=PartitionSpaceLabel.Fon t.Color;
end;

Last edited by bunti_o4u; 11-12-2018 at 12:41.
Reply With Quote