
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: How can I get a TEdit to display right-justified text? Answer: There is no way to do this at runtime because there’s no facility in TEditto right-align text. The
Question: I am getting an usual message from exception class EDBEngineError. The message is simply: “At beginning of table.”What does that mean? I am building a TQuery SQL property in
Question: I am developing an application in Delphi 2.0 on a 1024×768 resolution (large fonts), and have been trying to get it to act properly in 800×600 mode with little
Question: We are trying to write a multi-user Delphi 2.0 app (with Paradox 5.0 tables), and are looking for a way to determine if a record is locked by another
Question: Do the changes made in the 1.1 API mean that if one wanted to write applets for the Web, one would have to use a previous version of the
Question: I need to pass some data from the user to my applet (or application) which is to be entered from the keyboard, using TextField.The data is repetitive (it fills
Question: I have an applet placed on successive pages that displays different information on each page (a text-scrolling applet). This applet is running on a thread. Is there a way
Question: How can I trap the API message sent by Windows 95 on closure, to prevent a user shutting Windows down when a Delphi application is running? Answer: There are
Question: I don’t understand why it is said that Strings are immutable in Java. Here is a small piece of code which shows that Strings are in fact mutable:class TestStringStuff{public
Question: I recently took Sun’s Certified Java Programmers Exam and I ran into a few questions from the exam I’d like to ask you.What is the difference between >> and
Question: How can I implement a linked list using Java, since there are no pointers? Can you provide sample code that uses a linked list?Thanks! Answer: You need pointers to
Question: My completed Delphi application exports Quick Reports to Excel. This operation is 99.5 percent successful, and users are delighted. I am one of the developers, and one of the
Question: I want to convert some code written in Paradox to Delphi. I am mainly interested in a quick method rather than the usual method. The code deals with the
Question: I want to deploy a database application developed with Delphi 2 that will access an Interbase database via TCP/IP, but I cannot find any documentation that describes precisely which
Question: You already got this question, but your answer was far from what I was looking for.How can I write an appication that will run on a computer without the
Question: I want to create a button in code, put it on a form and attach a procedure to its click event. How can I get the click event linked
Question: I am working on a Delphi program in which I am inserting information into a database table by running a student’s ID card through a scanner. I was testing
Question: Last week I had a head crash on a PC using Delphiand Paradox files. I was able to recover everything but a log file for the month of March.
Question: I am developing a database/intranet package for which I need to use a grid based on a TQuery, but I only need a few of the fields to show
Question: I was a VB programmer, until my recent shift to Delphi 2.0. How can I create a database in code? Answer: It depends on the type of database youwant
Question: Where is the best place to put code that you want to run every time a new record is read into buffer? For example, in a HR system, you
Question: How can I override the Enter key to act like theTab key between components in a TDBCtrlGrid? Answer: There’s no simple way to do this. Why? Because child controlscontained
Question: I use Delphi 1.0. The standard dialogs (such as TOpenDialog and TPrintDialog) offer a method called execute. It executes the form/dialog, and waits until it returns. I would like
Question: My Paradox table has grown to about 130 MB.Now whenever I try to insert a new record to the table (from code or Database desktop), I geta “Table is
Question: Is it possible to write a non-interactive program in Delphi 2.0 that does something quick in the background without opening a form or a console window? Answer: Sure, but
Question: I have a simple animation on a form created by turning bitmaps on and off in sequence. How can I pause between frames? There is no wait or pause
Question: I have written a database program that gives me information about PCs on our network. When more than one user tries to access my data, they get a message
Question: I want to draw a picture with bigger coordinates (x,y) than the screen can contain. For example, my screen’s resolution is 600×800, but I will draw a filledellipse on
Question: At present we have a large application that runs under DOS protected mode. It is written in Borland Pascal 7.0. We have a longer term project to convert it
Question: I have installed a Delphi 2.0 BDE application over a network where two terminals can access the table at the same time.I have checked the NET DIR to point