The Latest

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

Resizing Spawned Browser Windows

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

DevX - Software Development Resource

Can Browser Print Applet’s Output?

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

DevX - Software Development Resource

Making a Binary Executable

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

DevX - Software Development Resource

Including Random Numbers from Poisson in Application

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

DevX - Software Development Resource

Non-portable Data Problem

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

DevX - Software Development Resource

Accessing Client Disk with 1.1

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

DevX - Software Development Resource

Applet Takes Up CPU Time

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

DevX - Software Development Resource

The ‘greater-than’ vs. ‘comment’ dilemna

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,

DevX - Software Development Resource

How is memory deallocated?

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

DevX - Software Development Resource

How do I restore a window’s size and position?

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

DevX - Software Development Resource

How do I make my Delphi programs go to sleep?

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