Posts by Bruno Ribeiro • 71 points
6 posts
-
0
votes0
answers69
viewsQ: Get image ID/object Inserted in a Tcxrichedit
Is there any way to get the ID of an image or object inserted in a Richedit? I tried to: IDRichEdit[I]:=RichEdit.Lines.Objects[I].GetHashCode; But gives Accessviolation. Update: The image/object has…
-
2
votes2
answers816
viewsA: How to send text formatted with Tidmessage smtp and richedit
This function solved my problem since I was exporting from a Richedit... function TFEnviarMailDirecto.RtfToHtml(RICH: TcxRichEdit): string; var I,J,max_array: integer; html: string; F,FO: array…
-
3
votes2
answers816
viewsQ: How to send text formatted with Tidmessage smtp and richedit
Hello. I am trying to send an email with formatted text using my Delphi program only instead of sending a text a file is sent. trx as an attachment. I’m using: Tidmessage -> Idmsgsend // tidSMTP…
-
1
votes2
answers1166
viewsA: How to create SQLITE BLOB fields with Delphi
I found the problem. before I had the insertion method as follows: procedure Tform33.Insert_data_ART; var i:integer; sql:string; ms:TStream; blopfield:Tfield; begin…
-
0
votes2
answers1166
viewsQ: How to create SQLITE BLOB fields with Delphi
I’m developing an android APP through Delphi. recently I have been trying to create a BLOB field in my SQLITE database when I do ShowMessage(query.FieldByName('imagem').ClassName); (request field…
-
1
votes0
answers297
viewsQ: "Invalid class Typecast" when loading stream from Sqlite (Delphi)
I’m trying to find an image I’ve already entered in my Sqlite database, however on the line ms:=query.CreateBlobStream(query.FieldByName('imagem'),TBlobStreamMode.bmRead); have error "Invalid class…