Board index » delphi » Coolbar Band Positions
au...@alternate.demon.co.uk (Simon Steele)
![]() Delphi Developer |
Mon, 12 Feb 2001 03:00:00 GMT
|
au...@alternate.demon.co.uk (Simon Steele)
![]() Delphi Developer |
Mon, 12 Feb 2001 03:00:00 GMT
Coolbar Band Positions
Hi All,
{Regarding Delphi 3.02 and the Coolbar and bands etc...} I've seen this problem mentioned several times now, but I've never There surely is no point in creating a Toolbar in your application However, the controls (both coolbar and coolbands) appear to have no Surely someone knows a way of getting at this data? {ps. Please reply to the group, and via e-mail!} |
Mark Dunca
![]() Delphi Developer |
Tue, 13 Feb 2001 03:00:00 GMT
Re:Coolbar Band PositionsHere's a quick way to write and read the coolbar data to a binary file(or any component, for that matter): procedure WriteCoolBarToFile(CoolBar: TCoolBar; FileName: string); procedure ReadCoolBarFromFile(CoolBar: TCoolBar; FileName: string); How to write/read from the registry is left as an exercise for the reader QuoteSimon Steele wrote in message <35e6a646.11668...@alternate.demon.co.uk>... |
Herminio Rodrigue
![]() Delphi Developer |
Wed, 14 Feb 2001 03:00:00 GMT
Re:Coolbar Band PositionsHi Simon, I use an ini file to save Coolbar band positions and widths. Here's how: //Declare variables such as these or whatever names you want to use //Add the following to the CoolBar1 Change event procedure TForm1.CoolBar1Change(Sender: TObject); procedure TForm1.ReadIniFile(Sender: TObject); procedure TForm1.SaveIniFile(Sender: TObject); //On your main form's create procedure, read the ini file: //On your main form's close procedure, save the ini file: That should do it--just another way of doing things. Cheers, Herminio QuoteMark Duncan wrote in message <6s7108$rm...@forums.borland.com>... |
Paul Rapnika
![]() Delphi Developer |
Fri, 16 Feb 2001 03:00:00 GMT
Re:Coolbar Band PositionsMark, I have been looking for a solution to this problem as well. Your reply seemed - PR QuoteMark Duncan wrote: |
Mark Dunca
![]() Delphi Developer |
Fri, 16 Feb 2001 03:00:00 GMT
Re:Coolbar Band PositionsPaul, All I can think of off the top of my head would be to make sure that Thanks, QuotePaul Rapnikas wrote in message <35EADEBD.F7B03...@acgme.org>... |
Simon Stee
![]() Delphi Developer |
Sat, 17 Feb 2001 03:00:00 GMT
Re:Coolbar Band Positionson Mon, 31 Aug 1998 16:12:01 -0700, Mark Duncan may have written: Quote> All I can think of off the top of my head would be to make sure that on the top line. However, once the coolbar has been reloaded, the bands cannot be moved from the top line or they disappear. I've also tried setting the Break property of both to True afterwards, but this just causes one of the two bands I've created to disappear. -- Simon Steele - Student ICQ: 2871108 |