Delphi การสร้าง Class อัตโนมัติด้วยเมนู Complete Class at Cursor

--

เวลาที่เราจะสร้าง Class ที่เป็น Procedure หรือ Function ขึ้นมาใหม่โดยไม่ต้องคอย copy ชื่อ Class ไปวางแล้วสร้าง Begin End เองนั้นมีเคล็ดลับ ดังนี้ครับ

พอเราพิมพ์ชื่อ Class เสร็จเช่น

procedure Load_Data();

ให้เรา คลิ๊กขวาแล้วเลือก Complete Class at Cursor หรือจะใช้ key ลัดเป็น Shift+Ctrl+C ก็ได้ครับ

คลาสจะถูกสร้างขึ้นอัตโนมัติ

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response