![]() Related Questions Here are some suggested Delphi interview questions.
Describe how components are loaded from a DFM file at runtime. What is the difference between TGraphicControl and TWinControl? Write a function that reverses a string. If a component has another component as a property (example: TDatasource has a TDataset component as a property), what happens if the “pointed to“ component is deleted? Where does TCustomControl fit into the VCL heirarchy? What is the purpose Read Answers (1) | Asked by : Ronald Vijay 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 ... Read Answers (1) | Asked by : yogesh 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 ... 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 ... Latest Answer : DeclarationADynamicCharArray : ^CharArrayType;AllocationADynamicCharArray := AllocMem(NumChars * sizeof(char)); ReleaseFreeMem(ADynamicCharArray, NumChars * sizeof(char)); ... 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 ... Latest Answer : Object Pascal ... 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 ... 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 ... Latest Answer : Interface clause is used to represent the interface scetion in delphi. The interface contains the type declarations, var declarations. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||