ja, die komponente funktioniert wunderbar, allerdings ist sie nicht so gut dokumentiert, dass ich alle einstellungen machen kann
kennst du dich damit aus?
ich will, das sie nur rechts und oben andockbar ist und nicht floatet
das steht in der unit
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
| // An AppBar can have several behavior flags as shown below: // Flag Description // --------------------------- ----------------------------------- // ABF_ALLOWLEFT Allow dock on left of screen // ABF_ALLOWRIGHT Allow dock on right of screen // ABF_ALLOWTOP Allow dock on top of screen // ABF_ALLOWBOTTOM Allow dock on bottom of screen // ABF_ALLOWFLOAT Allow float in the middle of screen
// The following enumerated type defines the constants in the table TksoApplicationBarFlag = (abfAllowLeft, abfAllowTop, abfAllowRight, abfAllowBottom, abfAllowFloat); TksoApplicationBarFlags = set of TksoApplicationBarFlag; |
ich habe folgendes versucht
Quelltext
1: 2: 3: 4: 5: 6:
| var woandockenh : TksoApplicationBarFlags; begin woandockenh := [abfAllowRight, abfAllowtop]; Form1.AlwaysOnTop; Form1.IsDockableHorizontally(woandockenh); Form1.Flags := woandockenh; |
aber irgendwie geht das nicht richtig
weißt du was ich falsch mache / richtig machen muss