PDA

View Full Version : سوال: دسترسی به منوی Help فرم



Mask
جمعه 22 دی 1391, 23:51 عصر
با سلام
میخواستم بدونم به bihelp متد BorderIcons فرم چطوری میشه دسترسی پیدا کرد.
به طور مثال با کلیک بر روی آیکن Help یه پیغام نمایش داده بشه و کلا این آیکن چه کارهایی رو میتونه انجام بده.
من با کلیک بر روی این آیکن فقط میبینم که شکل کرسر تغییر میکنه.
ممنون از توضیحاتتون.

Felony
شنبه 23 دی 1391, 00:11 صبح
اگر میخواین در مورد کاراییش بدونید در مورد HelpContext در دلفی جستجو کنید ، این هم یه توضیح کلی :


Note
The biHelp border icon enables the "What's this?" Help. When this style is included and the biMinimize and biMaximize styles are excluded, a question mark appears in the form's title bar. If you click this question mark and then click a component inside the form (but not the form itself!), Delphi activates the help for that object (in a pop-up window in Windows 9x, or in a regular WinHelp window in Windows 2000/XP). This behavior is demonstrated by the BIcons example, which has a simple Help file with a page connected to the HelpContext property of the button in the middle of the form.

اگر هم میخواین خودتون براش کد بزنید :

http://delphi.about.com/od/adptips2006/qt/custom_bihelp.htm

حمید محمودی
شنبه 23 دی 1391, 02:36 صبح
یک سوال کوچیک داشتم و اونم اینکه، استفاده از HelpContextهنوز هم مرسوم هست؟ یا روش های دیگه جایگزینش شده؟ چون در نرم افزارهای قدیمی تر بیشتر دیده میشد....