Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can´t comment and uncomment ok !
Message
De
29/05/2003 12:39:34
 
 
À
29/05/2003 12:33:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00793839
Message ID:
00793998
Vues:
16
T just tryed this on my machine (Vfp6Sp5 WinXP) and get the same behavior. i have never seen this before. it looks to me that it has something to do with the empty lines before. but i don't know why, in any code of mine where i do this, vfp has always behaved correctly.

>I try with -A , but still don´t work .
>
>See , for example i have this code commented
>
>
>
>*!*	IF Empty(FactDoc.NomeClient)
>
>*!*		cMessageTitle = 'Atenção'
>*!*		cMessageText = "Preencha o nome do cliente !"
>*!*			
>*!*		nDialogType = 0 + 16 + 0
>
>*!*		nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
>*!*			
>*!*		ThisForm.PageFrame1.Page1.TxNomCli.SetFocus
>
>*!*		RETURN
>*!*			
>*!*	ENDIF
>
>
>
>if i uncomment , happen this :
>
>
>
>IF Empty(FactDoc.NomeClient)
>
>*!*		cMessageTitle = 'Atenção'
>	cMessageText = "Preencha o nome do cliente !"
>		
>	nDialogType = 0 + 16 + 0
>
>*!*		nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
>		
>	ThisForm.PageFrame1.Page1.TxNomCli.SetFocus
>
>*!*		RETURN
>		
>ENDIF
>
>
>
>But the right is :
>
>
>
>IF Empty(FactDoc.NomeClient)
>
>        cMessageTitle = 'Atenção'
>	cMessageText = "Preencha o nome do cliente !"
>		
>	nDialogType = 0 + 16 + 0
>
>        nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
>		
>	ThisForm.PageFrame1.Page1.TxNomCli.SetFocus
>
>        RETURN
>		
>ENDIF
>
>
>
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform