Adding and Removing Columns from Tables
Question: How can I add and remove columns from a table at run time? Answer: While I’m an avid supporter of Delphi, one of the most annoying things about it
Question: How can I add and remove columns from a table at run time? Answer: While I’m an avid supporter of Delphi, one of the most annoying things about it
Question: How can I set Paradox table passwords in Delphi 2.0? Answer: Let Me Blow Off Some Steam About the BDEUnfortunately, setting passwords on Paradox tables cannot be done using
Question: I want to be able use a Web frontend for a databaseapplication. I would like to use Java to process theuser input and C for accessing the database. Myquestion
Question: I have no experience with object-oriented languages, havingonly learned BASIC when I was a child. Most people say Java is easy,but in my case it’s not. I don’t understand
Question: I am using Delphi 16 running under Win95.I have an application which requires use of more than 200 TDBEdit components. When designing the form I find that 178 appears
Question: I can not use tha math functions which was included in math unit. when I use one of them , the compiler cant identify it. I add ‘math’ to
Question: Here is the code I’m using (the error is posted where it occurs):=================================TypePROCESS_INFORMATION = record hProcess: Longint; hThread: Longint; dwProcessID: Longint; dwThreadID: Longint;End;Procedure ExecCmd(cmdline: String);varprocc: PROCESS_INFORMATION;startup: TSTARTUPINFO;ret1: longint;ret2: longint;ret3:
Question: When I add the code ‘update.text := dateToStr(Date)’ toOnUpdateChange of the DataSource, it works some of the time. Forexample, if the record is posted by moving to another record,
Question: How can I create a form that has a list box that I can perform an incremental search on? Answer: There are a couple of ways to do this.
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
Question: I used Oracle Forms for a long time to build Query By Form applications.I have recently switched to Delphi, and am wondering if it’s possible tobuild Query By Form
Question: How can I create a form that will roll up; that is, a form that whenclicked will reduce its height to nothing but the title bar? Answer: I have
Question: I’m a VB programmer who is new to Delphi. How do I centralize event handling for related controls?In VB, there is a concept of control arrays in which each
Question: Can forms be manipulated at runtime? Answer: Typically, you want to have your programs visibleand have the ability to switch to them; however, there are times when youhave a
Question: Is it possible to re-size arrays at runtime? Answer: I came across an exampleof how to do one. The author is BenLicht, who has come up with a brilliant
Question: How can I create a generic procedure that will load data from a table intoTListBox? Answer: Actually, this tip pertains to any control that has a property such as
Question: How can I create a Delphi program without VCL components? Answer: This code is pretty useless, but is meant to demonstrate that youdo not need to use the VCL
Question: Is there a way to manipulate the appearance of the individual buttons in a TRadioGroup? Answer: This subject falls into the yeah, it’s something you could do, but should
Question: I have an applet with dialog boxes, text fields and buttons.What can I do with the user input? How do I get it out of the applet?What else can
Question: How do you tell the amount of data contained in aTMemo component? Delphi1 has a finite TMemo limit and I want to check the available size beforeadding new text.
Question: How can I create a form that doesn’t have a caption, but can be re-sized? Answer: Many folks would say, “Just set the BorderStyle of the form to bsNone
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
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,
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
Question: How can I load a list like a TComboBox Items property with the list of valid aliases at runtime? Answer: There are two ways to do this. The first
Question: How do I get the field structures from a table, then load them intoa list of some sort? Answer: Accessing and Using the TFieldType While this isn’t the hardest
Question: I have a simple editor unit with a TMemo component whose text I want tosend to the printer. How can I do this? Answer: This is actually much easier
Question: What do the PRIVATE, PROTECTED, PUBLIC and PUBLISHED sections of a unit mean? Answer: They define the level of visibility of properties and methods of an object. In a
Question: In many of my applications, when I perform a query, I write itout to disk, using a TBatchMove. How can I create a component that willcombine the functionality of
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