devxlogo

Tip Bank

Integer-to-string Conversions

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,

TIniFile’s Hidden Limitation

Question: I have an INI file that is approximately 20K with all entries in one section. If I use TIniFile’s ReadSection method, only part of the section gets loaded. Why?

Creating a LIST_SELECT Event

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,?)

Setting up Paradox Tables on a Network

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

Creating Component Arrays

Question: In Visual Basic I can create component arrays, but I can’t seem to find a way to in Delphi. Does Delphi have this capability? Answer: Do You Really Need

Multithreading

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:

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

Moving a TCommonDialog Around

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