Forum Replies Created
-
AuthorPosts
-
November 11, 2011 at 11:26 am in reply to: How to create an AC-independent component that is skinned properly? #47178
I'm sorry, you are right. Some errors exists in my previous code. Try this :
Code:var
ParentBGInfo : TacBGInfo;
…ParentBGInfo.BgType := btUnknown;
ParentBGInfo.PleaseDraw := False;
// Receive a BG information from parent
SendMessage(YourControl.Parent.Handle, $A100{SM_ALPHACMD}, MakeWParam(0, 34{AC_GETBG}), LPARAM(@ParentBGInfo));'andrea wrote:Are you going to put it in the next release?Of course. 🙂
Hello
I think, you can use this code :
Code:procedure TForm1.sButton1Click(Sender: TObject);
var
p : TPoint;
begin
p := sButton1.ClientToScreen(Point(0, 0));
PopupMenu1.Popup(p.X, p.Y + sButton1.Height);
end;Thank you for the example, I'll fix it in the nearest release.
Hello
Try this file please.
I'm sorry, some problems exists with fixing it. I hope, this issue will be solved very soon.
Thank you!
Try the latest version please.
Thank you!
Try the latest version please.
I'm sorry, it's not possible at moment.
I recommend the TsCheckBox. All components from the package are specially adapted for using with skins. They are more faster and stable.
November 11, 2011 at 6:49 am in reply to: How to create an AC-independent component that is skinned properly? #47164Hello
You can receive a transparent control with using of a way which shown in the demo of a transparent chart.
You need only declare these types :
Code:type
PacBGInfo = ^TacBGInfo;
TacBGType = (btUnknown, btFill, btCache, btNotReady); // Returned by control type of BG
TacBGInfo = record
Bmp : Graphics.TBitmap;
Color : TColor; // Color returned if btFill is used
Offset : TPoint; // Offset of bg, used with Cache
R : TRect; // Rectangle used if PlsDraw is True
BgType : TacBGType; // btUnknown, btFill, btCache
PleaseDraw : boolean; // Parent must fill rectangle(R)
DrawDC : hdc; // Device context for drawing, if PleaseDraw is True
end;GetBGInfo(@bgInfo, Chart.Parent) may be replaced by
Code:Control.Perform(SM_ALPHACMD, MakeWParam(0, AC_GETBG), LPARAM(BGInfo));
if BGInfo.BgType btUnknown then begin // Parent is not AlphaControl
BGInfo.Color := Control.Parent.Color;
BGInfo.BgType := btFill;
end;This is easiest way. How you think?
I'm sorry, I not understand a problem, screenshots are too small.
This topic will be moved to “Troubleshooting” forum.
'delphilord' wrote:1.I just downloaded trial version.I want to know what limits are applied to trial.One limitation exists only – you will see a nag-screen after start a project not from Delphi/Builder IDE.
Hello!
I don't know at moment what is *.pdi file, but you can install the package under Delphi XE2 and Builder XE2 as described in this topic : http://www.alphaskins.com/forum/index.php?showtopic=2444
Hello
This checkbox can't be skinned in standard control because items are drawn by system there.
You can use TsCheckBox.
'BuzzLeclaire' wrote:with the passage in January, the week of December numbers are éronées.I'm sorry, what you mean? Can you show a screenshot of TsMonthCalendar and of other (correct) calendar?
Hello
I'll try to install this component and to research him soon.
Some changes will be added in the nearest release already, please wait some days.
Hello and thank you for the example
This issue will be solved in the nearest release, I think.
Yes, TsSkinProvider component should be placed on each form where it possible.
Thank you!
The problem will be solved in the nearest release I think.
-
AuthorPosts