Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can't get this form to close Please help
Message
De
15/07/1999 08:39:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
I can't get this form to close Please help
Divers
Thread ID:
00241718
Message ID:
00241718
Vues:
58
I am trying to get the following PRG code to work
It runs but the form will not release

Thanks in advance




xTmpFormMess = CREATEOBJECT("ApMess","Running Installation Please Wait...")

DEFINE CLASS apMess AS FORM
DoCreate = .T.
CAPTION = 'Please Note!'
WIDTH = 430
WINDOWTYPE = 1
VISIBLE = .T.
AUTOCENTER = .T.

ADD OBJECT lblZmess AS Label WITH ;
AutoSize = .T., ;
FontSize = 20, ;
Caption = "", ;
Height = 39, ;
Left = 10, ;
Top = 96, ;
Width = 232

ADD OBJECT tmrMess AS TIMER WITH ;
INTERVAL = 3000

PROCEDURE tmrMess.TIMER
THISFORM.RELEASE()
ENDPROC

*-- Form init
PROCEDURE INIT
LPARAMETERS lcMessage
THISFORM.lblZmess.CAPTION = lcMessage
THISFORM.SHOW()
ENDPROC
ENDDEFINE
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform