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.044 c
1-22195
Lnix
2001-12-15 20:00
2002.01.08
string


14-22406
VEG
2001-11-10 12:56
2002.01.08
It happened here with me different ...


1-22013
Curious
2001-12-17 12:53
2002.01.08
Run exe from current program.


1-22140
Serg5
2001-12-20 10:17
2002.01.08
The question of whether it is possible to reduce the font to 4 pixels, it changes, it changes (the program does not swear), but on the screen (Canvas.Font) it still displays 8 (the most minimal)


1-22109
avr555
2001-12-19 17:17
2002.01.08
Combobox in Grid





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 Español 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