Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small Request - PostLoginHook()
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00750865
Message ID:
00752270
Views:
17
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform