ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Titre de MESSAGEBOX()   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

lun. 18 février 2013, 21h09

P@trick
France France

atoutfox.public.association

Re: Titre de MESSAGEBOX()

Pas joli mais cela fonctionne :
#DEFINE MESSAGEBOX MBOX
_screen.Caption="patrick"
=MESSAGEBOX("test",65)

FUNCTION MBOX(eMessageText,nDialogBoxType,cTitleBarText,nTimeout)
  WshShell = CREATEOBJECT("WScript.Shell")
  IF TYPE("cTitleBarText")#"C" then
    cTitleBarText=_screen.Caption
  endif
  IF TYPE("nTimeout")#"N" then
    nTimeout=10
  endif
  retour=WshShell.Popup(eMessageText, nTimeout, cTitleBarText, nDialogBoxType)
  return retour
  RELEASE WshShell
ENDFUNC


Permalink : http://www.atoutfox.org/nntp.asp?ID=0000011210
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3