How can I play a wav-file from memory or BLOB-field? Sometimes you needs to play a some sounds from own app but store these sounds in BLOB-field of table or in some external files.To play a wav-file you must call the PlaySound procedure which have
How can I display the chevron for toolbar and open dropdowned popup menu with invisible buttons? Hello,today I want to continue the previous tip and describe how to open the popup menu with invisible buttons of toolbar by click in chevron
Remove MDI Child Title BarThe BorderStyle property of a Delphi form lets you specify the appearance and behavior of the form border. If you need to hide the title bar of a Multiple Document Interface child form, you might be tempted to set the
Etienne, this has no effect since the scrollbars do not belong to the MDI frame window itself, they belong to the client window, which is not a Delphi form. Which means one has to attack the problem on the API level. Since this question has come up
How can I display the chevron button for toolbar? Friends,I sure you saw the cool feature of toolbar in all products of Microsoft (Internet Explorer, MS Office, Outlook Express etc) - when width of toolbar is less than total width of all buttons,
Question How do I resize a *.jpg or *.gif image from say 640 × 480 to 50 × 50 and then save the image as a new one? procedure TForm1.Button1Click(Sender: TObject);var bmp: TBitmap; jpg: TJpegImage; scale: Double;begin if opendialog1.execute
How to get the published properties of an persistent objectThe TypeInfo unit of Delphi declares several types and functions that gives you easy access to the puplished properties of an object and other informations. You can obtain a list of the
前幾天linux系統上寫個消費activemq訊息的java程式時遇到這個錯誤,原因是linux系統的activemq用戶端hostname引起,把hostname改為localhost可以決絕。但具體原因不是很明白。 下面提示中:BFG-OSER-273是訪問activemq的用戶端的hostname;WARNING: could not generate unique stubjava.net.UnknownHostException: BFG-OSER-273: BFG-OSER-273
Print any type of document using Delphi 1.Drop a TComboBox on a form. Name it "cboPrinter". Set Style to csDropDownList. 2.Put the next two lines in the form's OnCreate event handler. // have available printers in the combo