TAdvSmoothDockDesktop is gone

I don't have implemented TAdvSmoothDockDesktop.

Please download the file 

http://www.cratemaker.de/Download/AnimBar.zip


There is no TAdvSmoothDockDesktop unit, you need to declare this class to access protected methods and properties. I have already converted the sample from Delphi to C++, it is only a matter of copy pasting the code.

Sorry, but where is the implementation for TAdvSmoothDockDesktop?

Please send me the unit.

Thanks 

Thomas

As explained multiple times, there is no AdvSmoothDockDesktop unit, you need to declare the following code in the same file as were the form declaration is present (.h file)


class TAdvSmoothDockDesktop : public TAdvSmoothDock
{

};
class TForm1 : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//----

Afterwards, you can use the following code in the .cpp file

void __fastcall TForm1::FormCreate(TObject Sender)
{
  (static_cast<TAdvSmoothDockDesktop>(AdvSmoothDock1))->DockOnDeskTop = true;
  this->BorderStyle = bsNone;
  this->Height = 0;
  this->Hide();
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormShow(TObject Sender)
{
  AdvSmoothDock1->ShowForm();
  (static_cast<TAdvSmoothDockDesktop>(AdvSmoothDock1))->AlignDesktop(adBottom);
}

1. You wrote an implementation for TAdvSmoothDockDesktop without any code. Why? All methods which you have used are accessible without using the class TAdvSmoothDockDesktop .

2. You can download the code from 

http://www.cratemaker.de/Download/AnimBar.zip

The behavior

1. open -> bar is shown once

2. close -> bar is closed

3. open -> bar is shown once

4. close -> bar is NOT closed


The method

void __fastcall TMain:: CloseAnimBar() {

FrmAnimBar->ShowBar(false);


void __fastcall TMain::ShowAnimBar() {
  FrmAnimBar->Visible = true;
}

The code was translated to access the protected properties & methods if needed. In the previous version the DockOnDesktop property and AlignDesktop method were protected and need to be accessed through this way. It was unclear if you had older versions of AdvSmoothDock installed next to the new version, and still had a reference to the AdvSmoothDockDesktop unit that once was present in an older build.


Unfortunately we are unable to compile your sample due to various other units that are included.
Please provide a compilable sample which is able to reproduce the issue you are experiencing.

Please donwload the complete sample

http://www.cratemaker.de/Download/AnimBar.zip

You are using a separate form to handle the AdvSmoothDock, but the AdvSmoothDock has its separate form handling. please add the AdvSmoothDock to the main form and toggle the Visible property.


If I add the AdvSmoothDock my appliaction main window with the menue is not visible. Or maybe I missed something. Please change my sample in this way that I see a main window and the AdvSmoothDock at the bottom. 

Thanks

Thomas

Mr. Jüntgen,
I believe we already went the extra mile in trying to help you.

Writing your application level code is beyond the normal support services we provide.
Thank you for your understanding.

Bruno Fierens2014-01-21 08:45:09

Ok no problem give my money back and I will delete you package. I only try to use one control which I is not working. I'm getting AV or showing twice or I cannot hide the dockbar.

I'm using several components, but this problem I didn't have at all.

You told my I have to create the class  TAdvSmoothDockDesktop, but without sense due to that all methods are accessible. Why cannot post a simple project, when it is simple?


Hello support,

Right now you send me no answer regarding my question. Would you like to send my my money back or fix the errors in your component and make a simple sample which shows how to use the component inlucding hide and show.

Thanks

Thomas

TAdvSmoothDockDesktop is NOT part of the TMS Smooth Controls Pack you purchased and we provided it for FREE. You asked a sample for something that is not part of the product and we provided a sample for FREE. Now you ask your money back for all these extras you asked for FREE. What's next?

Sorry, but I only want to use the component TAdvSmoothDock. That's all!

And in the past I used this component with TAdvSmoothDockDesktop. But I don't need TAdvSmoothDockDesktop. 

I only want a sample how to use  TAdvSmoothDock with hiding and showing the bar nothing more.

And if you cannot help me I cannot use your pack.