Board index » cppbuilder » What is a Dock event??

What is a Dock event??


2003-08-28 05:56:34 AM
cppbuilder74
TImage have some "Dock" events, what's the meaning of this?
when does this event happen? let's say that i have 1 TImage on
the form which have "OnStartDock" event function, what should i
do in order to active this function?
Thanks you.
 
 

Re:What is a Dock event??

Dock and Undock gives you the capability of changing the position of
components in runtime. Ex: ToolBars
Try to move C++ Builder, Excel,Word, etc.. toolbars and you see what i mean.
You can do it not only with toolbars, but with many visual components,
as long as the parent control as DockSite property set to true.
Ex: Panels, PageControls, Images, etc..
Hugo Oliveira Dias
"Anni" < XXXX@XXXXX.COM >wrote in message
Quote

TImage have some "Dock" events, what's the meaning of this?
when does this event happen? let's say that i have 1 TImage on
the form which have "OnStartDock" event function, what should i
do in order to active this function?

Thanks you.