Changeset 189 for trunk/Packages/CevoComponents/DrawDlg.pas
- Timestamp:
- May 7, 2020, 12:46:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/DrawDlg.pas
r174 r189 176 176 // ButtonDownSound, ButtonUpSound: string; 177 177 begin 178 // ButtonDownSound :=Sounds.Lookup('BUTTON_DOWN');179 // ButtonUpSound :=Sounds.Lookup('BUTTON_UP');178 // ButtonDownSound := Sounds.Lookup('BUTTON_DOWN'); 179 // ButtonUpSound := Sounds.Lookup('BUTTON_UP'); 180 180 for cix := 0 to ComponentCount - 1 do 181 181 if Components[cix] is TButtonBase then 182 182 begin 183 183 TButtonBase(Components[cix]).Graphic := GrExt[HGrSystem].Data; 184 // if ButtonDownSound <>'*' then185 // DownSound :=HomeDir+'Sounds'+ DirectorySeparator + ButtonDownSound + '.wav';186 // if ButtonUpSound <>'*' then187 // UpSound :=HomeDir+'Sounds'+ DirectorySeparator + ButtonUpSound + '.wav';184 // if ButtonDownSound <> '*' then 185 // DownSound := GetSoundsDir + DirectorySeparator + ButtonDownSound + '.wav'; 186 // if ButtonUpSound <> '*' then 187 // UpSound := GetSoundsDir + DirectorySeparator + ButtonUpSound + '.wav'; 188 188 if Components[cix] is TButtonA then 189 189 TButtonA(Components[cix]).Font := UniFont[ftButton];
Note:
See TracChangeset
for help on using the changeset viewer.