Palindrome Checker (Form Designer)

Grade 11

This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtWord) holds a word; a button (btnCheck) and a label (lblResult) are already on the form. Write btnCheck's OnClick handler so that it reverses the word and checks whether it reads the same forwards and backwards (ignoring case).

No input/output in the console sense. Grading sets edtWord.Text, clicks btnCheck once, then checks lblResult.Caption. Format: '<word> is a palindrome' or '<word> is not a palindrome' — using the word exactly as typed, even though the comparison itself ignores case. Examples: 'level' -> 'level is a palindrome' 'hello' -> 'hello is not a palindrome'

Palindrome Checker─ ▢ ✕
Word:
Check
lblResult

4 components · drag to move, corner handle to resize, Delete to remove

Object Inspector

Select a component on the form to edit its properties.

Palette

Pick a component, then click the form

Standard

Additional

Data

Non-visual