Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rewrite
Message
De
16/12/2008 10:52:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/12/2008 06:51:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01367784
Message ID:
01367895
Vues:
7
With MessageBox(), you can't control the position on screen. Use a form instead. For example,
do form MyMessageBox with "Message"
Here, you have the flexibility of adding additional parameters to control the position on screen, the font, buttons that the user can press, etc.

>hi all,
>
>
>i need to rewrite this code below, and if ther is a way to put the message at left cornner at top secreen
>
>
>&&method&&thisform.messag
>loSpeak = CREATEOBJECT("SAPI.SPVoice")
> loSpeak.Voice = loSpeak.GetVoices().Item(0)  && set the voice
>
> loSpeak.SPEAK('you have a message')
>MESSAGEBOX("íæÌÏ ÚØá")
>
>
>IF trans1.fexerno=3207 AND trans1.mark1=0 AND dnshostname="mohammadqasem"
>  thisform.messag
>ENDIF
>
>IF trans1.fexerno=2510 AND trans1.mark1=0 AND dnshostname="Tareq-LapTop"
> thisform.messag
>ENDIF
>IF trans1.fexerno=2948 AND trans1.mark1=0 AND dnshostname="mohammed.ks"
> thisform.messag
>ENDIF
> 
>IF trans1.fexerno=2478 AND trans1.mark1=0 AND dnshostname="a-momany"
> thisform.messag
>ENDIF
>
>thanks
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform