NO WAR IN
UKRAINE!
Home
Products
Skins gallery
Tutorials
Buy
Downloads
Demo-apps
Updates history
Feedback
Customers
Partners
Forum
Sign up for news
Windows 11
Compatible
|
Common questions
![]() ![]() ![]() ![]() ![]() ![]() ![]() Installation questions ![]() ![]() ![]() ![]() ![]() Technical questions ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Common questions![]() Of course, any user can publish skins and deliver applications with skins. ![]() Yes of course, we do not have limitations for AlphaSkins using (exclusive skins are not published withput the author's agreement). ![]() For a single developer, amount of projects is not important. ![]() In this case you should have 2-3 "single licenses" (discounts are applicable if the number of licenses is more than one). Besides, there is also a "Site license" for all team or company without limitations by number of developers. ![]() All items in the package are based on standard items, that is they possess absolutely identical properties and methods. Therefore there is no need of code change. To skin the project just change all controls to the corresponding ones from the AlphaControls package. To make this procedure easier we have created the AlphaConvert utility (http://www.alphaskins.com/sfiles/alphaconvert.zip). It has changeable settings and is updated regularly. ![]() You can subscribe to AlphaControls newsletter (at the left bar of the home-site). You will get all info about AlphaControls updates and new releases. You can unsubscribe at any time. ![]() After purchasing of components you will receive links to the full edition of the package and first priority in technical support. You will have access to the customer private page where may be downloaded packages and received other information. If you are registered user, then you will receive all news automatically by email. ![]() Installation questions![]() This problem is very popular... Just Delphi IDE can't find runtime library (acntD6_R.bpl). 1. The easiest solution - copy the acntD6_R.bpl file to Windows directory before Delphi starting. 2. Also you can try to add a path to this file into the PATH variable (Autoexec.bat). This problem may be caused by a very big size of this variable value. ![]() *_R*.dpk is a run-time package, used in design-time package (acntD*.dpk) and must be compiled before acntD*.dpk ![]() 1. Copy the ahelp.hlp and ahelp.cnt files to the Delphi HELP subdirectory 2. In the IDE select Help|Customize to start the OpenHelp application 3. Add the ahelp.cnt file to the Contents page, add the ahelp.hlp file to the Index and Link pages 4. Save all. ![]() Most likely the error is caused by the files left after the previous package installation. Before you install a new version, find and delete all old files including *.bpl ones. ![]() It means that IDE cannot find 'xxxx.pas' file. Firstly, make sure this file is included in the package (it may also have Dcu extension). If the file is included but the program still returns the error, it is necessary to find out when exactly this error occurs. If it happens when the project is compiled, then most likely the pathway to this file is not registered in IDE. You just need to register it in IDE menu/Tools/Environment options/Library/Library path. ![]() Technical questions![]() Try the TsSkinProvider.RepaintMenu method after all changes. ![]() AlphaControls package have own support of the PNG format and powerful TsAlphaImageList component included. To use the TPngImageList component with AlphaControls package you must enable "USEPNG" key in the sDefs.inc file and recompile acnt*.dpk packages. ![]() Just add "sDialogs" unit to your "uses" part. ![]() You can use Active property of the TsSkinManager component. If this property is False then all controls will be drawn by system (i.e. all controls will have standard kind, XP themes will be supported also if manifest is used). ![]() This is an installation problem. Just delete all old files and reinstall package (use the latest version). ![]() New forms should be created with Owner parameter defined to Application. I.e. you should use code like that : Form2 := TForm2.Create(Application); ![]() You can use FileListView.Folders[YourItemIndex].PathName FileListView.Folders[YourItemIndex] is the TacShellFolder containing a lot of other useful properties and methods. These are: function DisplayName(ShowExt: TacShowExtension): string; function ExecuteDefault: Integer; function ImageIndex(LargeIcon: Boolean): Integer; function IsFolder: Boolean; function IsFile: Boolean; function PathName: string; function Properties: TacShellFolderProperties; function Rename(const NewName: WideString): boolean; function SubFolders: Boolean; property AbsoluteID: PItemIDLIst read FFullPIDL; property Details[Index: integer] : string read GetDetails write SetDetails; property Level: Integer read FLevel; property Parent: TacShellFolder read FParent; property RelativeID: PItemIDList read FPIDL; property ShellFolder: IShellFolder read FIShellFolder; property ShellFolder2: IShellFolder2 read GeTacShellFolder2; property ShellDetails: IShellDetails read GetShellDetails; property ViewHandle: THandle read FViewHandle write FViewHandle; ![]() sMemo1.SkinData.SkinSection := 'CHECKBOX' ![]() AlphaControls Library has an TsSkinManager item, which is responsible for skin support in the program. There are external and internal skins. External skins are those that are loaded when the program is running. Internal skins (InternalSkins property) are already located in the running file. When external skins are used, the path to the skins can be indicated in the program in the TsSkinManager property directly (C:\acnt_reg7\Skins). ![]() procedure TfmMain.FormCreate(Sender: TObject); begin // Show a way to the folder with skins: sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName)+'Skins\'; // Indicate a name of the skin to be used sSkinManager1.SkinName := 'Elegant'; // Activate the the skin mode if it is deactivated. sSkinManager1.Active := True; end; ![]() ![]() ![]() ![]() ![]() The TsLabel item has a UseSkinColor property which must be deactivated. À TsLabelFX has a Kind property. If KindType = ktSkin then there's a binding to the skin. If KindType = ktCustom the font color can be easily changed. ![]() Use the TsTitleBar component. This component allows to add different elements to the form title (such as buttons, tabs, captions, dividers). ![]() Defines the order of drawing on a button. If the property is active (default value) the button is drawn in the first place and then its contents. If it's deactivated, first goes background, then icons, text and, lastly, frames... The property is applicable if the button has large bounds. ![]() Use the following function: TsSkinManager.GetSkinNames(sl:TStrings). ![]() Yes, you must write 'TRANSPARENT' in the Panel.SkinData.SkinSection. ![]() There should be TsSkinProvider on the form and the SkinnedPopups property of the SkinManager should be set to True. ![]() The item is used to skin a form, menus, standard and 3rd-party controls located on this form. It means the itemshould be dropped on every form the layout of which is compliant with skin. The result of the item performance can be only seen in run-time, in design-time the form has a standard kind. ![]() There are a number of functions in the sDialogs module, such as sMessageDlg, sShowMessage. Being absolutely analogous to the standard ones, they also support skins. ![]() The TsSkinManager component has a specified "gd: TsGeneralDataArray" property, where each item is TsFontColor = record Color, // Text color Left, // Colors Top, // of Right, // text Bottom: TColor; // contours end; TsGenState = record GlowSize, // Size of text glowing ImagePercent, // Percent of texture in BG TextureIndex, Transparency, // Transparency of control GradientPercent: integer; // Percent of gradient in BG Color, // Color of background GlowColor: TColor; // Color of text glowing FontColor: TsFontColor; // Text color structure GradientArray: TsGradArray; end; TsProps = array [0..ac_MaxPropsIndex] of TsGenState; // Array of properties TsGeneralData = record ParentClass, // Name of parent skin section (if exists) ClassName: string; // Name of skin section Props: TsProps; // Array of properties for different control states GiveOwnFont, // Gives own font color for transparent child ReservedBoolean: boolean; // Reserved States, // Count of defined control states ScrollBorderOffset, // Text Glow GlowCount, // Reserved GlowMargin, // Margin for glowing effect // Initialized values BorderIndex, // Index of border mask ImgTL, // Indexes ImgTR, // of ImgBL, // corner ImgBR, // images TextureNormal: integer; // Texture index HotGlowColor, GlowColor: TColor; HotGlowSize, GlowSize, // Outer effect OuterMode: integer; OuterOffset: TRect; OuterMask, OuterOpacity: integer; end;Use SkinData.SkinIndex property to get access to the properties of a certain control. Below are a couple of examples of coloring in ordinary and active states: sSkinManager1.gd[sBitBtn1.SkinData.SkinIndex].Props[0].Color sSkinManager1.gd[sBitBtn1.SkinData.SkinIndex].Props[0].HotColor Besides, you can get information on a certain skin item, if the SkinIndex is not known. For this purpose use the following function - sSkinManager1.GetSkinIndex(SkinSection: string): integer; The name of a required SkinSection is transferred into it as a parameter (all standard SkinSections are listed in the sSkinProp.pas file). ![]() Buttons from AlphaControls package have a full support of alpha-channell in glyphs. Some old glyphs have alphachannel filled by black color (empty) and such glyphs will be drawn as fully transparent. Such icons should be converted to format without alpha-channel or alphachannel should be converted. ![]() If your question is not listed here - write to support@alphaskins.com, we are glad to help you always! |
Installing, using and licensing the demo programs
© Sergii Goncharov, Ukraine, Odessa 2004-2023
|