Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How to start the program immediately show another one over the main form? Find similar branches


Alexander   (2001-12-19 01:45) [0]

Type the password to ask!



Someone   (2001-12-19 01:55) [1]

And what problems? By the way, it is more logical to request the password BEFORE displaying the main form. And as a matter of fact - at least in OnCreate, at least in the main form OnShow write:
if PasswordForm.ShowModal = mrOK then ... else ...



Alexander   (2001-12-19 02:11) [2]

I tried this method - I do not like it. I need over the main form, not in front of it, because I do not have a password to enter the program, but the parameters for connecting to another machine, which can be entered later.



Someone   (2001-12-19 02:24) [3]

Then differently. You are trying to find a connection, for example, by timer. Initially, the parameters are unknown, it is then that request them. Again, you use the parameters saved somewhere, and if they are not valid at the moment, again, call the dialogue with the request.



paul_shmakov   (2001-12-19 19:28) [4]

2 Alexander:
use Someone's advice, just call Update before showing the form.
procedure Form1.Form1OnShow (Sender: TObject); begin Update; if PasswordForm.ShowModal = mrOK then ... else ... end;



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.56 MB
Time: 0.034 c
3:21956
Sevostyanov Igor
2001-12-05 17:56
2002.01.08
Programmatically execute SHUTDOWN IMMEDIATE


4:22477
Type
2001-10-31 12:17
2002.01.08
How to see all the processes running all the programs?


1:22220
Kandyl
2001-12-16 15:10
2002.01.08
How to prevent deleting a folder without hanging in the tray?


1:22210
Man in red
2001-12-15 20:12
2002.01.08
How namut such that ............................


14:22374
nikols
2001-11-01 16:03
2002.01.08
How do programmers rest? And when?





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish