

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.








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
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
Question: How do you tell the amount of data contained in aTMemo component? Delphi1 has a finite TMemo limit and I want to check the available size beforeadding new text.
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
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
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,
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
Question: How can I load a list like a TComboBox Items property with the list of valid aliases at runtime? Answer: There are two ways to do this. The first
Question: How do I get the field structures from a table, then load them intoa list of some sort? Answer: Accessing and Using the TFieldType While this isn’t the hardest
Question: I have a simple editor unit with a TMemo component whose text I want tosend to the printer. How can I do this? Answer: This is actually much easier
Question: What do the PRIVATE, PROTECTED, PUBLIC and PUBLISHED sections of a unit mean? Answer: They define the level of visibility of properties and methods of an object. In a
Question: In many of my applications, when I perform a query, I write itout to disk, using a TBatchMove. How can I create a component that willcombine the functionality of
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
Question: For instance, I’d like to use a DBGrid as a navigating tool as follows:Clients table with standard name, phone number etcOne DBText for each editable fieldDBGrid contains just the
Question: Is there a SQL equivalent to Delphi’s Pos() function? Answer: You bet. It’s called the SUBSTRING function. Like the Pos function,the SUBSTRINGfunction in SQL will return a substring of
Question: I created a new edit control component which I derived from TEdit,however, when I added it to the component palette, it has the samebitmap as TEdit. How do I
Question: I want to display a scrolling list of items from a database: product | description | manu | expiration | product | description | manu | expiration | product
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
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
Question: If I have an applet on one HTML page, I can useAppletContext() to cause a new HTML page to becreated. How do I control the size of the Netscapewindow
Question: I have written an applet that creates a graph from the resultsof a query of our Oracle database. The graph looks good in the browser(Netscape 3.0), but if I
Question: I created a simple abort dialog box with one button. During a long query I want to display my box so the user can abort. The dialog box creates
Question: If I have: abstract class A; class B extends A; class C extends A; and I want to make an array of class A objects in order to access
Question: Is there a way to make a binary executable from Java code? Answer: There are several stunts you could try in order to accomplish this,but they all cripple the
Question: How can I include random numbers drawn from a Poissondistribution in my applications? There is only a Gaussian distribution in java.util.Random. Answer: Well, this one is a little off
Question: How can I program a form to submit multiple queries and show each response in a different frame? Answer: In JavaScript, the onClick event handler can be used to
Question: How can I add a new menu item to the systemmenu application? Answer: Forthe most part, you’ll never have a need for this. But it is useful for setting
Question: How can I resize forms independent of screen resolution? Answer: The following code comes to us via Peter Jagielski, a formerBorland engineer, and myself. Peteris responsible for the SetSize
Question: How can I force a drop-down combo to drop its list down? Answer: This is done by using a Windows message called CB_SHOWDROPDOWN. I recommend that you look in
Question: I’ve read, in several places, that Java sets bit-size and format for numeric representation internally. I can’t find anything that says Java also dictates how the data will be