Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small Request - PostLoginHook()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00750865
Message ID:
00752270
Vues:
10
Kevin,

In cApplication.do(), you have:
*--------------------------------------------------------
*--- If specified to do so, display the user login dialog
*--------------------------------------------------------
IF NOT llFirstTime OR (llFirstTime AND This.lDisplayLoginFirstTime)
	IF NOT This.DisplayUserLogin()
		RETURN .F.
	ENDIF
ELSE
	*-----------------------------------------
	*--- Release the application splash screen
	*-----------------------------------------
	This.ReleaseSplash()
ENDIF
I'd suggest changing it to:
*--------------------------------------------------------
*--- If specified to do so, display the user login dialog
*--------------------------------------------------------
IF NOT llFirstTime OR (llFirstTime AND This.lDisplayLoginFirstTime)
	IF NOT This.DisplayUserLogin()
		RETURN .F.
	ENDIF

	IF NOT THIS.POSTLOGINHOOK()
		RETURN .F.
	ENDIF


ELSE
	*-----------------------------------------
	*--- Release the application splash screen
	*-----------------------------------------
	This.ReleaseSplash()
ENDIF
Let me know what you think.

Thanks

David

>David,
>
>Where were you looking for me to add this hook method?
>
>Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform