Forum Replies Created
-
AuthorPosts
-
What version of AlphaControls do you use?
I have made checking with 14.29 – all cell's content draws correctly with XPLina and XPSilver skins.
Hello!
Something wrong with your code sample.
For example, what about DataSource and Parent for your Grid?
I wrote code to check your question and my code works perfectly:
Code:procedure TForm1.FormShow(Sender: TObject);
var
i : Integer;
sDBGrid: TsDBGrid;
begin
sDBGrid := TsDBGrid.Create(Self); // Create sDBGrid instance
sDBGrid.Parent := Self; // Grid will be placed on Form1
sDBGrid.DataSource := dsApps; // dsApps is TDataSource component created in design-time and linked to TClientDataSet instance
sDBGrid.Columns.Clear; // Clear columns for sure
cdsApps.Open; // Activate our dataset
for i := 0 to cdsApps.FieldCount – 1 do
Begin
sDBGrid.Columns.Add;
sDBGrid.Columns.Field := cdsApps.Fields;
sDBGrid.Columns.FieldName := cdsApps.Fields.FieldName;
sDBGrid.Columns.Title.Caption := cdsApps.Fields.DisplayLabel + '_test'; // “_test” suffix placed here to
// view difference between default column title values
End;
end;So, it seems that your question not related with AlphaControls directly, because your sample above will not works with any DBGrid.
'John wrote:Hi all..
I am testing Alpha Controls trying to convert a vcl app to AC.
Where should I start ?? I've tried the alphaconvert utility but nothing was converted.
Which is the right way to do it ?
Thanks
Hi!
First of all: do you read this manual?
If you made all steps and still have not converted application, please shortly describe what do you do, step by step. We'll try to help you.
No, unfortunately. Only Delphi/C++ Builder.
You can use TsButton component instead TButton. Just set property sButton.SkinData.SkinManager to TsSkinManager which contain and use needed skin.
Skinning for standard VCL components (like TButton, TBitBtn etc.) is supported, but it's not native skinning (for skinning this controls default TsSkinManager used (in your case this placed on main form), so you can't make VCL Button1 with one skin and Button2 with different. For Button1 and Button2 in same time will be used skin from default TsSkinManager component).
February 29, 2012 at 8:08 am in reply to: what should i add for fastreport support get skinned ? #47887Perhaps problem in different case in component names.
ThirdParty list is a case sensitive!
In your post before you wrote: “frxfastreport”. Be sure that in your code this component have type named TfrxReport, i.e.
frxfastreport : TfrxReport;
but not
frxfastreport : tfrxreport;
Hello!
Yesterday I made additional tests with installation AC (with AlphaDB package) under Delphi 2010 and no problems appeared.
Added:
Please, make full re-install AC package (include AlphaD:cool:. Drop acnt*.bpl and acnt*.dcp and AlphaDB*.dcp and AlphaBD.bpl.
Then make “clear” install for package: acntDelphiXE2_R.dproj (compile only), acntDelphiXE2.dproj (install), AlphaDBDelphiXE2.dproj(install).
Thanks for your message. But this property was always case-sensitive. This made for speed-up string works when Third-party list contains many different types.
February 29, 2012 at 5:58 am in reply to: what should i add for fastreport support get skinned ? #47881Hello!
Look for ThirdParty property in TsSkinManager component. In property editor just select Fast/Quick Report package item and press “<<" button to add this package in skinned controls list. Thats all.
Hello!
Quote:Will this bring any future problems for me?No.
Now this situation was fixed and AC 7.61 was re-uploaded.
'Kirill_' wrote:Здравствуйте! Скачал вчера архив к 2010 Делфи и при попытке установить DB компоненты появилась ошибка “[DCC Fatal Error] sDBComboBox.pas(10):F1026 File not found sDebugMsgs.dcu”. Я проверил, действительно такого файла нет в архиве. Исправьте пожалуйста!
Исправлено.
Hello!
Really, skin named WOT (World of tanks) missed in 7.60, but I successfully download it from main page of site. So, if you can't download this skin from main page, maybe you will try download it from attachment?
Hello!
I found similar question in Russian part of forum. There is is solution:
Code:const
SkinName = 'Skin loaded from stream';
begin
sSkinManager1.IsDefault := True;
sSkinManager1.InternalSkins.Add;
sSkinManager1.InternalSkins[sSkinManager1.InternalSkins.Count – 1].Name := SkinName;
sSkinManager1.InternalSkins[sSkinManager1.InternalSkins.Count – 1].PackedData.LoadFromfile('c:SkinsAir.asz');
sSkinManager1.SkinName := SkinName;
sSkinManager1.Active := True;You can try to use LoadFromStream instead LoadFromfile. I hope, it will be useful for you.
Встречный вопрос… Версия 6.23 была удалена перед апгрейдом на новую версию? Если нет – удалите.
Так же внутри архива с АС есть папочка RES.
Попробуйте в этой папке найти каталог Russian, и из него скопировать файл sStrings.res в основную папку с АС, заменив существующий (англоязычный) файл sStrings.res.
Тем самым вы прикрутите русский язык к пакету. Попробуйте скомпилировать и установить пакет.
Hello,
Please, re-download AC package again (files were updated).
Now you mustn't have problems with installation.
-
AuthorPosts