Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox with custom captions?
Message
De
30/01/2012 09:54:28
 
 
À
30/01/2012 09:45:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01533427
Message ID:
01534065
Vues:
51
>>>>>Hi everybody,
>>>>>
>>>>>Do you know what can I use to have custom buttons' captions for the MessageBox? Preferrably a solution without external dependencies, which I can easily plug.
>>>>>
>>>>>Thanks a lot in advance.
>>>>
>>>>
>>>>
>>>>Here's the updated post, without the need of an external FLL, and with source code link attached
>>>>
>>>>Extended Messagebox() function reviewed
>>>>http://weblogs.foxite.com/vfpimaging/2012/01/30/extended-messagebox-function-reviewed/
>>>
>>>Thanks a lot.
>>
>>I noticed that the SendMessage call was not passing the selected value back to the caller. Here is how I corrected this.
>>
>>
>>LOCAL loMsgB, lnResult
>>loMsgB = CREATEOBJECT("xmbMsgBoxEx")
>>lnResult = loMsgB.SendMessage(tcCaption, tnIcon, tcTitle, tcButtons, tcIconFile)
>>loMsgB = NULL
>>RETURN lnResult
>>
>
>
>Thanks Greg !
>I've updated the post and the attachment.
>
>In fact, I've published a different version than the one I'm working on. Mine has an additional LightBox effect. I just want to make some additional tests before sending it as well :-D

looking forward to see it.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform