Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help.chm and Messagebox()
Message
 
 
À
24/09/2020 06:49:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676192
Message ID:
01676228
Vues:
43
Antonio,

Thank you for your reply. I didn't know that the function returns the button code (I should read the documentation better). I will work on how I can "translate" this button call to the help topic ID.

UPDATE. I think I will use the following approach. Based on the returned button code, I will execute the command HELP ID. And since the Foxy Dialog will exit on the button click, I will wrap it in a LOOP, so that the dialog is displayed again, after the user closes the help topic.


>Dimitry,
>
>Yes, Cesar is a UT/LE long time contributor but he is also, like all of us, a very busy man ;-). I'll poke him at VFPImaging, anyway, just to make him aware of this thread.
>
>The function returns a button code, isn't it? So if one of your buttons is "Help", can't your application direct your user to the relevant topic of your file?
>
>>Antonio,
>>
>>Do you know if the author of the FoxyDialog is on UT/Level Extreme? I am looking at his samples code (all look wonderful); but I can't figure out how do I assign a Help ID to a button. For example, one of the buttons is Help (for a user to see more information on why the FoxyDialog is displayed). But I would need to be able to bring up a Help topic from my application .CHM when user clicks on this button.
>>Maybe Cesar can point me to how to do it.
>>
>>>FoxyDialog will do, Dmitry.
>>>
>>>>Antonio,
>>>>
>>>>Do you happen to know which source I need to download? I see three choices:
>>>>NewDialog v2.1
>>>>New Dialog v2.2
>>>>Foxy Dialog v2.4
>>>>
>>>>All three or the last one?
>>>>
>>>>>Dmitry, you might be interested to have a look at Cesar's FoxyDialogs @ http://vfpimaging.blogspot.com/2020/06/foxydialogs-v10-going-much-forward-with.html.
>>>>>
>>>>>>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
"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
Répondre
Fil
Voir

Click here to load this message in the networking platform