devxlogo

The Latest

How can I properly use CreateProcess to instantiate a new process?

Question: Here is the code I’m using (the error is posted where it occurs):=================================TypePROCESS_INFORMATION = record hProcess: Longint; hThread: Longint; dwProcessID: Longint; dwThreadID: Longint;End;Procedure ExecCmd(cmdline: String);varprocc: PROCESS_INFORMATION;startup: TSTARTUPINFO;ret1: longint;ret2: longint;ret3:

Incremental Searches with a TListbox

Question: How can I create a form that has a list box that I can perform an incremental search on? Answer: There are a couple of ways to do this.

Creating Component Arrays

Question: In Visual Basic I can create component arrays, but I can’t seem to find a way to in Delphi. Does Delphi have this capability? Answer: Do You Really Need

Creating a roll-up form

Question: How can I create a form that will roll up; that is, a form that whenclicked will reduce its height to nothing but the title bar? Answer: I have

Can forms be manipulated at runtime?

Question: Can forms be manipulated at runtime? Answer: Typically, you want to have your programs visibleand have the ability to switch to them; however, there are times when youhave a

Is it possible to re-size arrays at runtime?

Question: Is it possible to re-size arrays at runtime? Answer: I came across an exampleof how to do one. The author is BenLicht, who has come up with a brilliant

Getting at a TRadioGroup’s Individual Buttons

Question: Is there a way to manipulate the appearance of the individual buttons in a TRadioGroup? Answer: This subject falls into the yeah, it’s something you could do, but should

Getting Data Out of an Applet

Question: I have an applet with dialog boxes, text fields and buttons.What can I do with the user input? How do I get it out of the applet?What else can

Creating a Form Without a Title Bar

Question: How can I create a form that doesn’t have a caption, but can be re-sized? Answer: Many folks would say, “Just set the BorderStyle of the form to bsNone

Moving a TCommonDialog Around

Question: How can I pop up a dialog like TOpenDialog in the corner of my screen instead of the center? Answer: This is kind of a weird one, because normally

Integer-to-string Conversions

Question: I want to convert an integer into a string. Is there anything in Java similar to the itoa() function in C? Answer: To convert a number (or in fact,

Scrolling a TDBMemo

Question: I work with large blobs and I would like that when I accessed them in the TDBMemo window they showed theyr final portion instead of their beginning. Is it

Using replaceText with MenuItems

Question: I created a UI for a selector guide using Frame, Menubar andMenuItems. I am having trouble writing the event handling; specifically, Ineed to see an example using replaceText when

Displaying Scrolling List of Database Items

Question: I want to display a scrolling list of items from a database: product | description | manu | expiration | product | description | manu | expiration | product

How do I change Table Editor?

Question: When dragging and dropping fields from the table editor onto a form, the field text appears above the field. For the sake of faster development, is there any way

Delphi will not start after adding component

Question: *Delphi will not start anymore after adding component.*In Delphi 2.01 C/S after compiling a program and then changing the .DCL with Open Library or compiling a new component library