devxlogo

March 28, 1997

Flat Combo

Question: Do you know how to create a flat, non-3D combo box with only a thin black border? Setting CTL3D to False doesn’t seem to have an effect on the

Dynamic Buffer

Question: I’m using Delphi to do a client-server application in which all the lines I get from a socket I send to a TMemo in my form. I want that

Is there a way to kill a sleeping thread?

Question: I am creating numerous threads on-the-fly in Delphi 2.0. I create them suspended. The question is: How do I make the threads go away? I’ve tried Free, Terminate… nothing

Playing a sound collection

Question: I have 10 .wav files that I want to play in a loop.If I make the mmplayer wait property true, I suffer from control failure during the loop time.I

DBGrid

Question: I am using a DBgrid. I have defined two NEW Persistent fields as lookupfields. In the Columns editor, I added them to the grid display. Those two fields are

Insufficient Memory, TFloatField in TQuery

Question: 1. I developed an application, but after running for about one hour, a message error: “Insufficient memory to do the operation” occurred. The error did not cause the application

Memo Fields and Carets

Question: I need to be able to move the caret in my memo field back to the begining of the field. Any idea how I do this? Answer: Try this:Memo1.SelStart(0);This

Changing Applet’s Background Color

Question: Can you tell me how to change the background color of an applet from the normal grey to white? I would greatly appreciate it. Answer: Try putting the line: