
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

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

Question: I read(somewhere) that the Java spec. allows for applet access to the local diskin a restricted way. That is, the client should be able to specify adirectory on the

Question: I am trying to make an HTML page with many applets running concurrently.Unfortunately, an applet that I created uses up much of the CPU time andslows all the other

Question: The ‘greater-than’ vs. ‘comment’ dilemna Answer: There is a trick in writing JavaScripts which all developers should learn as soon as possible. When putting a script in your HTML,

Question: The new operator allocates memory for objects.How isthis memory deallocated? Answer: If you have ever programmed in C++, you might wonder why JavaScript doesnot have a delete operator to

Question: How do I restore a window’s size and position? Answer: This new tip comes from Hamish. He has converteda TurboPascalfor Windows routine that allows you to save and restore

Question: How do I make my Delphi programs go to sleep? Answer: Note:Since the following was written, Delphi 2.0 has added a Sleep command. The following code can be used

Question: How do I highlight or make bold the text in a button or a list? Answer: Java Buttons, Lists, Labels, TextAreas, Canvases, etc, are all subclasses ofthe Java Component

Question: When paint() iscalled, the clipRect of the Graphics obj may already be set to somethingsmaller than the full drawable region of the object (if, for instance, it’sa partial window-manager

Question: The MoveFile command does not work for me with some filenames. An example is as follows :MoveFile(‘C:CIPLINCOMING199702110408440000000000.SAV’, ‘C:CIPLARCHIVE’);yet, if I try to move a file called ‘test.sav’ with the

Question: I have been experimenting in trying to create windows without the VCL using the WinAPI functions CreateWindow and CreateWindowEx and WNDCLASS and WNDCLASSEX structured but it never create the

Question: Is there a way for delphi 1.0 to have some kind of multithreading (enabling the user to do something else while waiting for a report beinggenerated or printed)? Answer:

Question: How do I make a form a child of another form without having to resort to the overhead of MDI? Answer: MDI provides an easy and well-established way for

Question: I’ve created a multi-user application in Delphi that accesses Paradox tables. But I’m having a problem setting them up to run successfully on a network. Answer: A Short StoryHere’s

Question: I have an expert C-programming background. Now that I want to OOP I find myself frustrated with learning Delphi and the paradigm shift to OOP at the same time.

Question: How do I implement drag and drop between two list boxes on a form? Answer: Dragging items from one list box and dropping them into another is, with Delphi,

Question: Could you please tell me how to take a value from a field of a databse and store it as a variable. I want to take an int variable

Question: I’ve seen several shareware descendants of TDBGrid that don’t flicker when you move through the associated table.How do I get rid of the flickering in TDBGrid when you hold

Question: How do I create a LIST_SELECT event? Specifically, what should I put in the fields of the statement: Event anevent = new Event(mylst, event.when, event.LIST_SELECT, ?, ? event.key, event.modifiers,?)