> When XE2 launches, it reloads the last project, and I'm greeted by the error message (see: 2. Error on load.png).
This is, probably, the most interesting step. My Delphi does not reload the last project. There should be some specific settings a…
Hi,
I know about these problems. I'll try to implement them, but there is a probability, that it will not work anyway. Because, when you move dockable window, you actually performs docking drag, which is implemented inside VCL, where some things jus…
Hi,
You can use code like this:
var c: TWinControl;begin brush.ManualFloat(Rect(...));
c := brush; while (c nil) and not (c is TLMDDockSite) do c := c.Parent; Assert(c nil);
TLMDDockSite(c).DockControl(textures, brush.Zone, alClient);en…
Hmm.... Every floating panel is docked into special floating site. Its a descendant from TLMDDockSite class. Basically, you can easily find it iterating all panel's parent controls. After that, use site's DockControl method to dock another one panel…
Hi,
You can use OnUpdateHotSpots event handler to disable unneded hotspots. For floating sites you can hook your event handler for this event inside dock manager's OnCreateFloatingSite event. Also look at OnDragOver and OnGetSiteInfo events.
However…
> When a string cell is populated with "&" it appears as a shortcut. Ex. "Bowers & Wilkins" will be shown as "Bowers _Wilkins". How do I avoid that?
Seems to me as a bug. You can be sure, it will be fixed.
> Resizing the columns at des…
Hi,
Its simple: You need to create a dock panel and then, dock it into your site:
MyPanel := TLMDDockPanel.Create(MyForm);MySite.DockControl(MyPanel, ...);
Hi,
This is known bug. And this is a bug of TStringGrid. We had posted this bug to Quality Central, but I don't remeber the bug number.
So, there are nothing to say from our side. You can ask Embarcadero or post the similar bug report to support …
Hi,
OnShow event is fired when PanelVisible property changes its value. But, since PanelVisible value is True by default, this value is not changed on initialal layout loading (it remains True); so, OnShow event is not fired.
Another one problem is,…
Hm.. There are no built-in way, you right. May be the following will work as a workaround: use OnMouseMove event, in its event handler test, over which poroperty the cursor resides, and assign the hint to standard Hint property.
Hi,
First, you can un-pin a panel using the code like this: MyPanel.Zone.AutoHide := True;Second, I don't quite understand, what you mean, when you say "keep it slid out". If you mean that the user should not be able to look at it (for example, by m…
Hi,
First, its hard to debug pascal code in C++ Builder ;( However, i've made it. The error is occured inside TCppWebBrowser, when property inspector try to read some its published properties. I don't know, why they are at all made published, becaus…
As has been unswered via e-mail, everything works Ok: The form, actually has resize handles, and, as well, form resizing in reflected in property inspector. You should look at IDE/IDE-2 demos of LMD-IDETools package.
To prevent panels from beeng dragged by the used you can use standard Delphi property DragMode. Just set it to dmManual.
To prevent from docking anything into some zones you can use Site.OnDockOver event. Just set Accept parameter to False. However,…
Some more notes about OnGetComp/OnGetCompId events:
AComponent parameter in these events is of TComponent type. Why its not a TLMDDockPanel? This is because our docking solution is compatible with VCL docking, and, thus, any control can be docked in…