Changeset 496 for trunk/Packages/CevoComponents
- Timestamp:
- Dec 18, 2023, 10:31:54 PM (12 months ago)
- Location:
- trunk/Packages/CevoComponents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/BaseWin.pas
r472 r496 175 175 Assert((NewMode = wmModal) or (FWindowMode <> wmModal)); 176 176 // don't make modal window non-modal 177 if (NewMode = wmModal) and ( forceclose or (FWindowMode <> wmModal)) then177 if (NewMode = wmModal) and (ForceClose or (FWindowMode <> wmModal)) then 178 178 begin // make modal 179 179 UserLeft := Left; … … 183 183 ShowModal; 184 184 end 185 else if forceclose then185 else if ForceClose then 186 186 begin // make modal 187 187 Visible := False; -
trunk/Packages/CevoComponents/ButtonBase.pas
r471 r496 84 84 Invalidate; 85 85 if @DownChangedProc <> nil then 86 DownChangedProc( self);86 DownChangedProc(Self); 87 87 end; 88 88 if (Button = TMouseButton.mbLeft) and (@ClickProc <> nil) then 89 ClickProc( self);89 ClickProc(Self); 90 90 end 91 91 else … … 98 98 Invalidate; 99 99 if @DownChangedProc <> nil then 100 DownChangedProc( self);100 DownChangedProc(Self); 101 101 end; 102 102 end; … … 113 113 Paint; 114 114 if @DownChangedProc <> nil then 115 DownChangedProc( self);115 DownChangedProc(Self); 116 116 end 117 117 else … … 122 122 Paint; 123 123 if @DownChangedProc <> nil then 124 DownChangedProc( self);124 DownChangedProc(Self); 125 125 end; 126 126 end;
Note:
See TracChangeset
for help on using the changeset viewer.