Adding Context Specific Help to a Say

Adding Context Specific Help to a Say

Postby dpaterso » Wed Feb 22, 2006 10:14 am

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

Postby dpaterso » Wed Feb 22, 2006 10:20 am

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.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Enrico Maria Giordano, Google [Bot] and 43 guests