devxlogo

Tip Bank

Strings in List Boxes

Question: When a user clicks on an item in a list box, how can I get the actual string that was clicked on? For example, if ‘dog,’ ‘cat,’ and ‘fish’

Dynamic Buffer

Question: I’m using Delphi to do a client-server application in which all the lines I get from a socket I send to a TMemo in my form. I want that

Changing Applet’s Background Color

Question: Can you tell me how to change the background color of an applet from the normal grey to white? I would greatly appreciate it. Answer: Try putting the line:

Insufficient Memory, TFloatField in TQuery

Question: 1. I developed an application, but after running for about one hour, a message error: “Insufficient memory to do the operation” occurred. The error did not cause the application

More than One Class in Same File?

Question: Is it possible to have more than one class in the same file ? Answer: Yes. The file Foo.java may contain several class declarations, but amongthem must be a

Passing Info to Word Processing Template

Question: I have a couple of questions about passing information to aword processing template and controlling the saving of the template toanother name. I appreciate any guidance you can provide.

Copy constructors

Question: I have a class with multiple parents. In my copy constructor, should I invoke the parents’ copy constructor or their default constructor? Answer: In all but the rarest of