Adblocker Detected
Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.
Learn and practice your skills with our MCQ question answers to improve your knowledge. MCQs list
Start Practice with MCQsQuizack 10 minutes test will assess your knowledge and give you comprehensive results along feedback.
Start QuizDownload Free Delphi MCQ questions answers PDF to practice and learn while are offline.
Download PDF
Used by 100s of Jobseekers and students
Focused questions for skill assessment
Premium questions with correct answers
Which of the following is the correct code to cause a popup menu named Popupmenu1 on a form called Form1 to be displayed?
Application.DisplayMenu(Form1.Popupmenu1);
Form1.Popupmenu1.Popup(20,30);
Form1.Popupmenu1.ShowMenu;
Form1.ShowMenu(Popupmenu1);
Answer:
Application.DisplayMenu(Form1.Popupmenu1);
What is the main difference between TLabel and TStaticText?
TStaticText has a Window Handle and can accept focus whereas TLabel does not have a Window Handle and cannot accept focus
TStaticText allows the user to edit the text displayed whereas TLabel does not allow the user to edit the text displayed
TLabel's caption property can be changed programmatically whereas TStaticText's Caption property cannot be changed programmatically
TLabel does not have a ShowAccelChar property whereas TStaticText does have a ShowAccelChar property
Answer:
TStaticText has a Window Handle and can accept focus whereas TLabel does not have a Window Handle and cannot accept focus