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.56 MB
Time: 0.03 c
4-22471
bsFrame
2001-11-02 11:42
2002.01.08
Component


14-22409
Vadim
2001-11-12 13:56
2002.01.08
Or maybe we will not beat each other's hands?


1-22132
Leviathan
2001-12-19 19:38
2002.01.08
Hide shape


1-22211
uuuu
2001-12-13 22:46
2002.01.08
Good evening, day, morning. People help !!! how to dial a number, switch to tone mode, and enter a random code *


1-22163
Marina
2001-12-20 16:29
2002.01.08
Month names





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