Adding Context Specific Help to a Say

Post Reply
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

Adding Context Specific Help to a Say

Post by dpaterso »

Is it possible to add context specific help to a 'Say'?

This line compiles fine:

ReDefine Say ioTELEPHONE Var cTELEPHONE ID 103 Of oDlg HelpID

but if you add ANYTHING after the HelpID like:

ReDefine Say ioTELEPHONE Var cTELEPHONE ID 103 Of oDlg HelpID 5000

you get an error.

Now you may wonder why I would want a HelpID on a 'Say'.

Well let me tell you:

I have changed the resource type of all of my 'Says' (or LTEXT) on my 'view' dialogs to 'Gets' (or EDITTEXT) and made them readonly (but left them as 'Says' in the code). This has had the wonderous effect of displaying the 'Says' exactly as the 'Gets' appear (with beautiful borders around them and a different background color) and has given me the additional facility to actually click on a 'Say' but you cannot edit the field only navigate to the 'Say'.

So I might as well then add context specific help to the 'Says' if possible!!!

Regards,

Dale.
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

Post by dpaterso »

Actually - I even discovered another benefit of doing it this way:

I can actually copy and paste from a 'Say' to somewhere else if needed!!! How about that!

(Thanks Enrico)!

Regards,

Dale.
Post Reply