Tip Bank

DevX - Software Development Resource

Compiled Program won’t Run

Question: I’m a Delphi rookie but an experienced programmer in Turbo Pascal.I’m trying to use DBF tables, with good results.But when I copy my compiled programs to a disketteand install

DevX - Software Development Resource

Help for a Delphi 2 Beginner

Question: I’m trying to teach myself Delphi 2 and have no programming experience. I’m stuck on a simple problem. How do you bring up the About box from the About

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

Calling the Operator =

Question: How can I call the operator= of the base class from the operator=in the derived class?The data member in the base class is a private data member. I want

DevX - Software Development Resource

Pulling Digits Out of String to Sum Them

Question: How do I pull out every second digit from a string and sum them? Answer: This is a rather unusual question, but it’s not that hard to accomplish.What must

DevX - Software Development Resource

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

DevX - Software Development Resource

Is Drag-and-Drop on a Menu Item Possible?

Question: Is drag-and-drop on a menu item possible? Answer: If I was going to be rhetorical, I’d answer in very Zen-like terms:”Anything is possible.” But in more practical terms, no,

DevX - Software Development Resource

ActiveX/OCX objects in Delphi 3

Question: I am currently trying to convert three components to ActiveX components. I am doing this through Delphi 3, which I realize some people do not have access to.I need