Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG ? - X not enabled
Message
 
 
À
16/02/2005 10:06:53
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Divers
Thread ID:
00987428
Message ID:
00987450
Vues:
40
You have WindowType = 1 which is MODAL which is probably why your _screen close button is disabled. Change the WindowType to 0, recompile and see if that fixes the problem.

>hi,
>
>Is this a bug ?
>
>
>**************************************************
>*-- Formset:      formset1 (c:\test\form1.scx)
>*-- ParentClass:  formset
>*-- BaseClass:    formset
>*-- Time Stamp:   02/16/05 08:26:10 PM
>*
>DEFINE CLASS formset1 AS formset
>
>
>	DataSession = 1
>	AutoRelease = .T.
>	WindowType = 1
>	Name = "Formset1"
>
>
>	ADD OBJECT form1 AS form WITH ;
>		Top = 0, ;
>		Left = 0, ;
>		Height = 574, ;
>		Width = 821, ;
>		DoCreate = .T., ;
>		Caption = "Form1", ;
>		TitleBar = 0, ;
>		WindowState = 2, ;
>		Name = "Form1"
>
>
>	ADD OBJECT formset1.form1.command1 AS commandbutton WITH ;
>		Top = 120, ;
>		Left = 468, ;
>		Height = 27, ;
>		Width = 84, ;
>		Caption = "Command1", ;
>		Name = "Command1"
>
>
>	ADD OBJECT form2 AS form WITH ;
>		Top = 0, ;
>		Left = 0, ;
>		Height = 250, ;
>		Width = 403, ;
>		DoCreate = .T., ;
>		Caption = "Form2", ;
>		Visible = .F., ;
>		TitleBar = 0, ;
>		Name = "Form2"
>
>
>	PROCEDURE Load
>
>		_screen.caption = "test"
>	ENDPROC
>
>
>	PROCEDURE command1.Click
>		thisformset.release
>	ENDPROC
>
>
>ENDDEFINE
>*
>*-- EndDefine: formset1
>**************************************************
>
>
>After building it into a exe,i run and i minimised and then restored only to find that the 'X' was disabled. Does this happen in the later versions also?
>
>
>I have put a command button to release the application other wise it would be the Ctrl+alt+del to end the app.
>
>Is there anything wrong with my system or others too are having the same ??
>
>
>Suhashegde
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform