Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help.chm and Messagebox()
Message
From
26/09/2020 06:37:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01676192
Message ID:
01676250
Views:
29
>>>>>Hi,
>>>>>
>>>>>I have a place in the program where, when user makes a wrong selection, a Messagebox() pops up. But the message in the Messagebox() is somewhat short. So, I would like "refer" the user - if he/she wants to learn more - to a page in the application Help.chm file. I know how to do it with a button on a form.
>>>>>Does it mean that the only way for me to "refer" the user to this help topic, is to replace the Messagebox() with a form?
>>>>>
>>>>>TIA
>>>>Dmitry,
>>>>Is this not enougH?
>>>>MESSAGEBOX( "This is s somewhat long message with which 'you can pass very much information to your user. And if still not enough why dont you add some more stuff to it?", 0+16+0, "Even with the title you can give the enduser some information.", 0 ) && OK = 1
>>>>However I prefer Cesar's messagbox.
>>>>Stay healthy,
>>>>Koen
>>>
>>>Koen,
>>>Yes, in theory I can compress the "message" I need to relate to the user and put it all in a MESSSAGEBOX().
>>>Cesar's FoxyDialog is much more elegant and looks professional. And it can, hopefully, allow the user to get the CHM help topic with a long description (which the customer will never read :)
>>>Be well.
>>Dimitry,
>>
>>your quote I have a place in the program where, when user makes a wrong selection, a Messagebox() pops up. But the message in the Messagebox() is somewhat short. So, I would like "refer" the user - if he/she wants to learn more - to a page in the application Help.chm file. I know how to do it with a button on a form.unquote
>>What is in this respect "The application Help.chm" Is that the VFP Help file or is it the Help.chm you have constructed yourselve for your appication?
>>For the VFP Help.chm you should know which subject in this file you would like to show your user. For your own help.chm you know the help.ID you would like to show, so just open your help file with that ID.
>>Please reply what you are after.
>>Stay healthy,
>>Koen
>
>Yes, this is my application .chm file (Not VFP .chm). And indeed I can prompt user to press F1 to get to help topic. I may do that. But I wanted to explore a more "elegant" approach.

Dimitry,
Than I would suggest to put a help button, the well accepted elegant QuestionMark on your form.
In the clickevent of that button you have to open your.chm file with the ID of the topic you would like to present. That should work.
Idont think it can be done more elegant easy for your users.
Stay healthy,
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform