You are not logged in.
Pages: 1
hi, I have similar problem using SynPdf and right align text when text contains space (1 or more).
When the text is printed out the last char of the line is cutted.
Seems the output rect has a wrong dimension when a space is presente.
iFormat := DT_EDITCONTROL or DT_WORDBREAK or DT_NOPREFIX or DT_RIGHT;
DrawText(FCanvas.Handle, PChar(AText), Length(AText), ABounds, iFormat);
I tryed with just DT_RIGHT and I have same problem.
iFormat := DT_RIGHT;
Any ideas, may I try to do something to investigate?
I attach 2 screenshots.
* Pagina 1.pdf - The original text is "06/02/2015 10:58:29[CR]ciao[CR]ciao 3[CR]ciao_3"
* Copertina.pdf - The original text is "06/02/2015 11:04:15"
Ps. I tried changing TPdfDocumentGDI.UseMetaFileTextPositioning using tpExactTextCharacterPositining and the problem seems fixed.
Regards
Cocce
LVL and XE4
Hi i tried to compile the LVCL demo but i receive a lot of errors about PWideChar and PAnsiChar
[dcc32 Error] Classes.pas(1313): E2010 Incompatible types: 'PWideChar' and 'PAnsiChar'
is XE4 supported and other Unicode Delphi version?
Thanks in advance
Hi, i tried the export class but seems to have a problem with transparent images, png specially.
Is there a workaroung for that?
Thanks
Good idea.
I've made the following modifications:
* added tdfQueryFieldFocused optional flag to focus the input field component
* InputBox function will now focus the input field component by default
Veryyyyyyyyyyyyyyyyyy gooooood.
Thanks
Hi, I use a standard InputQuery replacemnt like this:
function InputQuery(const ACaption, APrompt: string; var Value: string): boolean;
var
Task: TTaskDialog;
begin
Task.Inst := ACaption;
Task.Content := APrompt;
Task.Query := Value;
Result := Task.Execute([cbOk, cbCancel], 0, [tdfQuery], tiQuestion) = mrOk;
if Result then
Value := Task.Query;
end;
I need to focus on edit component instead the button.
Is it possibile or I have to change the FormShow method?
Thanks
Cocce
Pages: 1