How to Use JPEGs from resource files ?
Answer / Mahesh Kumar Patairiya
To use JPEGs from resource files in Delphi, first add the image file to the resources. Then, you can load it using TResourceStream component and assign it to a TImage or TBitmap.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about Multi-Threaded ISAPI DLLs ?
How to Typecaste a PChar to a longint?
I'm using Delphi 4/5 and have am trying to fill a RichEdit control with both European characters and Thai characters - while I can change character colours the font stays with what was selected for the control:- reLangB.SelAttributes.Color :=dCol; reLangB.SelAttributes.Name :=FontName[dLang]; reLangB.SelAttributes.Charset :=FontChar[dLang]; reLangB.SelAttributes.Style :=[]; reLangB.Lines.Add(dText); The FontName and FontChar arrays contain the font info, and using a similar method for Captions and EditBoexes works! Anybody any ideas? Thanx in advance!
How to Write a raw string of data to the printer?
How to Limit the amount of text entered in a TEdit?
How to Calculate an angle from two points?
How to Execute a program from my application?
How to prevent closing of an undocked ToolBar?
How to keep seconds from being included in the display when using TDateTimePicker?
How to determie if a given machine has a math coprocessor?
How to Move the application server to another machine?
How to set the default form font in Delphi?