Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rewrite
Message
From
16/12/2008 10:52:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/12/2008 06:51:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01367784
Message ID:
01367895
Views:
6
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform