Latest Answer: Object Pascal ...
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: DeclarationADynamicCharArray : ^CharArrayType;AllocationADynamicCharArray := AllocMem(NumChars * sizeof(char)); ReleaseFreeMem(ADynamicCharArray, NumChars * sizeof(char)); ...
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: 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: 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 ...
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
View page << Previous 1 2 [3]

Go Top