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

Down

What are the two buttons to attach, so that they are at the bottom center? Find similar branches


Сержик   (2001-12-19 15:45) [0]

The form is stretched out and it is necessary that OK and CANCEL be at the bottom center.



Юрий Зотов   (2001-12-19 15:52) [1]

Write the button alignment code in the OnResize handler.



v-o-y-a-g-e-r   (2001-12-19 16:03) [2]

and you can throw a panel, buttons on it, set dimensions and aligment on the panel ...



Jony   (2001-12-19 16:49) [3]

In Anchors buttons, leave True only in akTop or in akBottom.



Dimka Maslov   (2001-12-19 17:21) [4]

function Center (Value: Integer; HiValue: Integer; LoValue: Integer = 0): Integer; asm sub edx, ecx sub edx, eax shr edx, 1 add ecx, edx mov eax, ecx end; procedure TForm1.FormResize (Sender: TObject); begin OkButton.Left: = Center (OkButton.Width + CancelButton.Width + 8, ClientWidth); CancelButton.Left: = OkButton.Left + OkButton.Width + 8; OkButton.Top:=ClientHeight-OkButton.Height-8; CancelButton.Top:=OkButton.Top; end;



Pages: 1 whole branch

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

Top





Memory: 0.55 MB
Time: 0.022 c
14:22395
Alien
2001-11-07 01:15
2002.01.08
What mess is different from the order?


3:21953
Varik
2001-12-05 15:14
2002.01.08
Pro Records


4:22504
Besa
2001-09-11 11:11
2002.01.08
WinExec neponyatka


14:22366
Vlados
2001-11-05 10:41
2002.01.08
Plotting


3:21976
Termik
2001-12-06 11:47
2002.01.08
Stored procedures, dynamic objects





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