Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Sensitive Help via Custom Help Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Control Sensitive Help via Custom Help Method
Divers
Thread ID:
00018995
Message ID:
00018995
Vues:
84
New idea

Instead of having context sensitive help which simply detects what form or page you are on (much similar to the old 2.6 read concepts) what about a control sensitive help that could actually tell what control is active and give the appropriate help information.

This is acutally easier to do than you might think. Here is the key

on key label thisformset.thisform.activecontrol().help

where each control has a custom method called help

Now in the help method you either

set topic to topic12 (for old style help)

or

_topic='topic12' etc
do form myhelp.scx

Now whenever you hit help or f1 the help for the active control will fire.

This is a coarse outline of the idea of course, but as always opinions welcomed.
Todd Burstain, MD
infinitydoc@delphi.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform