@BenBach wrote:
Hi,
I'm trying to build an application which shows up an login window on startup.
I tried two ways:
1.) Login window in the main application window
2.) Popup on start of the application.Both have disadvantages which I don't manage to get rid of.
When using the main window I would like to hide the menu bar until the login is verified and would like to resize the window on login.
With the popup I can't find a way to hide the main window until the login is done.
Could somebody try to direct me on the right way?In addition the same question would come up for the other way round - so after logout I could of course just close the window but I would find it nicer to go back to the initial state - so either show the login popup again or go back to the login page and hide the menu bar.
Would appreciate your help on this point too.From my point of view the solution could be something like:
for the Popup solution
setUiProp("mainWindow", visible, false/true)
or for the Main window login
setUIProp("menuBar", visible, false/true) and setUIProp(widht, xxx) setUIProp(height, xxx)But as I'm not familiar with delpi at all I totally lost on this points while they seem to be easy to solve...
Thanks in advance for any ideas
Posts: 3
Participants: 2