Delphi Tips เทคนิคการไล่ Code ด้วยวิธีตาม รอย

เวลาที่เราจะตามหาว่า Function นี้อยู่ตรงไหนเรามักจะใช้วิธี Copy แล้วไป Search หาว่ามันอยู่ไหนใน Project แต่มันก็มีเคล็ดลับในการค้นหานั้นก็คือ

กด Ctrl ค้างไว้แล้วนำเมาส์ไปชี้ที่ Function หรือ Procedure

ตัวที่เราชี้จะกลายเป็นสีน้ำเงินแล้วมีเส้นใต้ อารมณ์ คลิ๊ก Link ในเน็ตเลยครับ เมื่อคลิ๊กแล้วมันจะวิ่งไปที่ Procedure ที่เราเขียน statement ไว้โดยที่เราไม่ต้องกดค้นหาเลยครับ

นอกจากนี้ยังไช้ได้กับการการค้นหาพวก Dataset ที่อยู่ใน Form ได้ด้วยนะ
เช่นถ้าเรากด Ctrl ค้างไว้แล้วเอาเมาส์ไปดับเบิ้ลคลิกที่ DataSource

แม้จะอยู่กันคนละ Form โปรแกรมจะวิ่งไปเปิด Form นั้น แล้วเลือก component ดังกล่าวไว้ให้เรา

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

More from Piyanat Nimkhuntod