
bug in siOpenDialog
-
- Posts: 10
- Joined: Fri Nov 29, 2002 2:40 pm
bug in siOpenDialog
Again from the other usergroup:


-
- Posts: 10
- Joined: Fri Nov 29, 2002 2:40 pm
New changes for xxxPictureDialog
Hi Igor,
the change, you have explain, works. But you have forget the (Leer)<>(empty) translation. So i go on my one search and found the changes on (4) different places:
in DoselectChange from (1) openpicturedialog and (2) savepicturedialog there are this NEW lines:
s1 := FsiCustomLang.GetTextFrom(@FsiCustomLang.DlgsCaptions, '(empty)', True);
if s1 <> '' then
begin
Comp := FindComponent('PaintPanel');
if Assigned(Comp) and (AnsiPos('(', TLabel(Comp).Caption) = 1) then TLabel(Comp).Caption := s1;
end;
and in siComp.pasyou have to change
(3) line 725 ArrLen = 82;
(4) line 797 'Picture:', '(empty)', 'Preview',
i hope "(empty)" is the right text for english.
Are this fixes all in the next Version of the source?
regards
Thomas
PS: Yes, (Leer) is a very unimportent text for translation, but it is a good example to learn how sicomponts works.
the change, you have explain, works. But you have forget the (Leer)<>(empty) translation. So i go on my one search and found the changes on (4) different places:
in DoselectChange from (1) openpicturedialog and (2) savepicturedialog there are this NEW lines:
s1 := FsiCustomLang.GetTextFrom(@FsiCustomLang.DlgsCaptions, '(empty)', True);
if s1 <> '' then
begin
Comp := FindComponent('PaintPanel');
if Assigned(Comp) and (AnsiPos('(', TLabel(Comp).Caption) = 1) then TLabel(Comp).Caption := s1;
end;
and in siComp.pasyou have to change
(3) line 725 ArrLen = 82;
(4) line 797 'Picture:', '(empty)', 'Preview',
i hope "(empty)" is the right text for english.
Are this fixes all in the next Version of the source?
regards
Thomas
PS: Yes, (Leer) is a very unimportent text for translation, but it is a good example to learn how sicomponts works.