We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
Delphi Components
What is the default extension of file when we create user components?
Latest Answer: .dcp ... Delphi Active X Controls What are the Active X Control in Delphi 6? OOPs Concept in Delphi How does the OOPs concepts/Feature like encapsulation, polymorphism, abstraction etc are implemented in Delphi? provide an example. Notification Service How can you use Microsoft SQL Server Notification Services in Delphi 6? Is there in C# an equivalent of exit command in Delphi, which force the exit from one method? Latest Answer: there same "Exit" command available. you can use Abort stop any operation(s). ... What is a difference between free and destroy? Latest Answer: If you write your own code to instantiate objects, you are responsible for disposing of them as well. Every object inherits a Destroy method (called a destructor) from TObject. To destroy an object, however, you should call the Free method (also inherited ... What is the use of GlobalMemoryStatus() function in Delphi? Latest Answer: It is a function in Delphi to find the Total memory status.It accepts TMemoryStatus variable as var parameter.It fills the variable entity with different memory status info like Total phisical Memory, available phisical memory, total vrtual memory ... What is the use of Initialization and Finalization sections of Delphi? Latest Answer: The initialization section is optional. It begins with the reserved word initialization and continues until the beginning of the finalization section or, if there is no finalization section, until the end of the unit. The initialization section contains ... What is the use of TActiveForm object in Delphi? Latest Answer: TActiveForm is the base class for a VCL Form exposed as an ActiveX control. TActiveForm represents a form that is created by a class factory (in Delphi) or using the Active Template Library (C++) and used as an ActiveX control in ActiveX host applications.A ... Delphi Array types What are the types of arrays handled by Delphi? Latest Answer: There are two types of arrays. 1.Static - array[indexType1, ..., indexTypen] of baseType2. Dynamic - array of baseType ... What must be done to make scroll bars appear automatically in Delphi? Latest Answer: Set the form's autoscroll property to true. ... What is the use of unit interface section of Delphi? Latest Answer: Every identifier (type, routine, variable, and so on) that you declare in the Interface portion of a unit becomes visible to any other unit of the program. ... What are Delphi units? Latest Answer: Unit is nothing but a text file that can be complied in a module of code.there are 2 different types of units Project Source unit and it can be saved with an extension of .DPRand Source code unit with an associated form and can be ... What are the code sections that get added automatically by Delphi when a form is created? Latest Answer: unit {unit name}usesinterfacetypeend;varimplementation ... What is the use of Database Form wizard in Delphi? Latest Answer: This wizard helps you to build a Database Form with Ttabale, TDatasource and all the TDatabaseEdit Control without you droping each component.Cheers,Vijay ... What is TForm object in Delphi? Latest Answer: Tform is the .dfm file associated with any delphi application. Tform acts as a parent and owner for the components placed on it. Every .dfm file has a .pas file associated with end. ... What is the clause used with Interface section of Delphi? Latest Answer: Interface clause is used to represent the interface scetion in delphi. The interface contains the type declarations, var declarations. ... How is OnCalcFields event handler used in Delphi? Latest Answer: Hi Robert OnCalculate is event in Delphi it trigerrs when you are reading data from the database .NOTE : It trigerrs on reading each row Stupid Example :if you want to subtract two coolumns from database table then you override this event with ... What is the use of container? Latest Answer: Container is used to hold the components. It's the responsibility of the container to request the visible controls placed on it to paint themselves. The container is also responsible for creating and later destroying the components palced on it automatically.A ... What is project file in Delphi? Latest Answer: File with .dpr extension is the project file. It comprises all the unit names used in the application along with their path in the hard disk (and the form name if the unit is associated with a .dfm file). It also instantiates the auto-create forms. We ... What is the environment on which Delphi was based? Latest Answer: Object Pascal ... What is contained in the code Unit of Delphi? Latest Answer: To add a new code unit in Delphi choose File-New ... Unit.//**blank code unitunit Unit2;interface{interface code goes here}implementation{implementation code goes here}end. //this ends the unit ... How is dynamic array's memory space removed in Delphi? Latest Answer: DeclarationADynamicCharArray : ^CharArrayType;AllocationADynamicCharArray := AllocMem(NumChars * sizeof(char)); ReleaseFreeMem(ADynamicCharArray, NumChars * sizeof(char)); ... How is message handling handled in Delphi? Latest Answer: Define custom messageconst WM_MY_MESSAGE = WM_USER + 0;Define handler for message type TMyForm = class(TForm) private procedure OnMyMessage(var Msg: TMessage); message WM_MY_MESSAGE;Send or Post message ... What are components in Delphi? Latest Answer: Components are commonly of two kindsVisual and Non-visualEx. VisualLabelsEdit boxesA visual component is one that helps make graphical building blocks.Ex. Non- visualTQueryTThread/Timer ... What is RTTI in delphi Latest Answer: RTTI - Runtime type informartion, we can use is and as key work we can use at runtime. Using is we can find the control at run time Using as we can create control at run time ...
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More