Jump to content

Recommended Posts

Posted

Hello Farshad

I am trying to convert a desktop application in to web application.

for this, first of all i need login screen where user and password would be entered,after verification at database end one would be allowed to continue.

after searching in forum i found this Link.

 

Now condition is, main screen have calendar, that too visible while Login screen is just above it as showmodal, depending on the user logged in i will load calender,so showing main screen just behind the login screen is not appropriate.

 

Note : I want MainFormDisplayMode = mfPage

 

Do you suggest any solution since the link i attached here is more than 1 year old, so i think some solution should be there by now(may be entirely different approach).

 

Regards

Posted

I prefer to keep all visual components in frames, including main frame and login frame.

When the app starts I just show login frame first and switch to main frame on successful login. You can check MegaDemo how to handle frames.

Posted

Hello Farshad

I am trying to convert a desktop application in to web application.

for this, first of all i need login screen where user and password would be entered,after verification at database end one would be allowed to continue.

after searching in forum i found this Link.

 

Now condition is, main screen have calendar, that too visible while Login screen is just above it as showmodal, depending on the user logged in i will load calender,so showing main screen just behind the login screen is not appropriate.

 

Note : I want MainFormDisplayMode = mfPage

 

Do you suggest any solution since the link i attached here is more than 1 year old, so i think some solution should be there by now(may be entirely different approach).

 

Regards

 

use callback for login dialog like messagedlg demo

 

 

 

 

post-644-0-17788300-1346882103.jpg

Posted

I have an app that use some icons for actions, then at init I "show" they with visible set to false, then after login I change their visible properties to true. The Login form is a dialog, so it is modal. The main form is "mfPage". It is working good.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...