Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with timer
Message
De
19/09/2007 02:10:47
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01254533
Message ID:
01255362
Vues:
11
Dear Sergey
But i want to have something like messenger.
For example USER_A send a service request, so USER_B must be notified that a new request is received.( like as when we have a new email, messenger shows a small window )

your code run only when my main form is active. but i want when i am working in another form, my timer work in background.

>Add ckeck to the timer event.
>
>IF TYPE("_SCREEN.ActiveForm.Name") = "C" AND _SCREEN.ActiveForm.Name = "Whatever"
>	Select MsgTable
>	locate for !ReadMsg
>	if found()
>	   MainForm.Image1.Visible = .T.
>	else
>	   MainForm.Image1.Visible = .F.
>	endif
>ENDIF
>
>
>
>>Where i must check my main form is active.
>>Please more explain about your code and more guide me.
>>I think it occur because i am using from an activex for showing animated gif (GIF89.dll) . i change visibility of picture.
>>Thank you very much
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform