Tip Bank

DevX - Software Development Resource

Record locking (Delphi 2 Paradox 5)

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

DevX - Software Development Resource

TEdit and right-justification of text

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

DevX - Software Development Resource

Screen resolution

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

DevX - Software Development Resource

How to tell when to time-out

Question: How can I determine that a user has been inactive for a certain length of time so that I may exit the application? Answer: This is an interesting question

DevX - Software Development Resource

Two-table Update

Question: I’m a Paradox for Windows convert. In Paradox it’s a relatively simple thing to create a query that changes data in a field of one table with the values

DevX - Software Development Resource

How to implement a linked list

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

DevX - Software Development Resource

Tables and SQL

Question: How do you count the number of rows displayed in a DBGrid when displayed through a query? Using TQuery, I get 50 to 60 files, but want to know