Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help.chm and Messagebox()
Message
 
 
À
25/09/2020 12:31:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676192
Message ID:
01676244
Vues:
30
>>>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform