![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
KolSplitter [Delphi, Windows]
murtix © (2004-07-06 01:42:00)Здрасти люди
поставил на форму два сплиттера
чего-то они неправильно работают
особенно не зацикливался на этом, но хотелось бы...
Form1
___________________________
| | |
| | |
| Panel1 | Panel2 |
| | |
|___________|_____________|
| |
| ListBox1 |
|_________________________|
Это схема расположения сплиттеров
спасибо с ув. /murtix/
Lars (2005-02-13 05:41:00) [1]Thanks for taborder trick. I changed the Tab order property of the Splitter and by trial and error I got it to work in the correct position and alignment. I didn't have resort to adjusting the DFM file manually - I just fooled with taborder Property in the IDE of the splitter itself.
gent (2005-01-26 14:37:00) [2]If you use MCK, you can manually update *.dfm file, TabOrder field for every control you are interested. This will change the creation order.
thaddy (2005-01-26 11:36:00) [3]You can do it with the mck too, provided that you do it in this order...once..to avoid trouble.
Lars (2005-01-26 04:59:00) [4]thanks much, so I just always hack this in manually in the INC file, no lazy visual way yet? ;-)
thaddy (2005-01-26 04:19:00) [5]Template, Creation order is important:
procedure NewForm1( var Result: PForm1; AParent: PControl );
begin
New(Result,Create);
with Result^ do
begin
Form:= NewForm(AParent,'KOLForm').SetSize(600,80).centeronparent.Tabulate;
Applet:=Form;
Form.Add2AutoFree(Result);
Panel1:=Newpanel(form,esRaised).setalign(caTop);
Panel1.Height:=20;
Panel2:=Newpanel(form,esLowered).SetAlign(caLeft);
Splitter1:=Newsplitter(form,10,10);
Panel3:=Newpanel(form,esLowered).SetAlign(caClient);
end;
end;
thaddy (2005-01-26 04:05:00) [6]Result.Splitter1 := NewSplitterEx( Result.form, 10, 10, esNone );
Lars (2005-01-26 03:10:00) [7]Ok so here is what I mean, I am trying to get the
splitter between Panel 2 and Panel 4 .
It always goes to the left of form, never between.
http://positivesale.com/KOLDelphi/UrlEnc.zip
(sources, no exe.. URL encoding project)
Lars (2005-01-26 02:23:00) [8]Ackkk so much for my drawing, I need a <pre> tag here.. haha.
Lars (2005-01-26 02:21:00) [9]Hello,
How do I place a splitter between two controls?
I figure out how to do this with mck controls in the IDE.
_______________________
| | |
| | |
| Panel1 | Panel2 |
| caLeft | caClient |
| ________|____________|
^
Splitter
caLeft
The splitter always goes to the very left of the form, instead
of above.. betwen two panels. Even if I drag it with the mouse,
like in VCL.
Gandalf (2004-07-09 14:16:00) [10]Спитер умеет делить только два контрола. Потому придеться те их парами разводить по нанелям - иначе никак.