Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer in a Toolbar
Message
 
À
11/05/2003 14:45:46
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787155
Message ID:
00787266
Vues:
17
PUBLIC oTool
oTool=createobject("myToolbar")
oTool.Show()
DEFINE CLASS mytoolbar AS toolbar
	Caption = "Toolbar1"
	Name = "mytoolbar"
	ADD OBJECT timer1 AS timer WITH ;
		Top = 5, ;
		Left = 5, ;
		Height = 23, ;
		Width = 23, ;
		Name = "Timer1"
ENDDEFINE
>I am using VFP 5. I have a timer in a toolbar that will be used to refresh the data displayed in the toolbar, this toolbar will be used as a status display for system information. The problem is that the timer doesn't seem to fire unless I click on the toolbar. The timer is enabled and works, I just have to click on it. I noticed that there are a couple of refrences hear about doing this exact thing, so I am hopeing that I am just not doing something right. Any help would be appreciated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform