Witcher

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: sDbGrid Title in runtime #59805
    Witcher
    Participant

      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.

      in reply to: sDbGrid Title in runtime #59801
      Witcher
      Participant

        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.

        in reply to: New to AlphaControl ( testing ) #58741
        Witcher
        Participant
          '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.

          in reply to: AlphaSkins for .NET? #50667
          Witcher
          Participant

            No, unfortunately. Only Delphi/C++ Builder.

            in reply to: Multiple Skins in an application #47949
            Witcher
            Participant

              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).

              in reply to: what should i add for fastreport support get skinned ? #47887
              Witcher
              Participant

                Perhaps 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;

                in reply to: Problem with v7.61 install #47883
                Witcher
                Participant

                  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).

                  in reply to: Skinning 3rd party components on a TFrame #47882
                  Witcher
                  Participant

                    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.

                    in reply to: what should i add for fastreport support get skinned ? #47881
                    Witcher
                    Participant

                      Hello!

                      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.

                      in reply to: Problem with v7.61 install #47877
                      Witcher
                      Participant

                        Hello!

                        Quote:
                        Will this bring any future problems for me?

                        No.

                        Now this situation was fixed and AC 7.61 was re-uploaded.

                        in reply to: Проблема установки AlphaDB в Delphi 2010 #47862
                        Witcher
                        Participant
                          'Kirill_' wrote:

                          Здравствуйте! Скачал вчера архив к 2010 Делфи и при попытке установить DB компоненты появилась ошибка “[DCC Fatal Error] sDBComboBox.pas(10):F1026 File not found sDebugMsgs.dcu”. Я проверил, действительно такого файла нет в архиве. Исправьте пожалуйста!

                          Исправлено.

                          in reply to: WOT skin #47637
                          Witcher
                          Participant

                            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?

                            in reply to: Loading a skin from memory stream #47620
                            Witcher
                            Participant

                              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.

                              in reply to: Проблема с sStrings #45451
                              Witcher
                              Participant

                                Встречный вопрос… Версия 6.23 была удалена перед апгрейдом на новую версию? Если нет – удалите.

                                Так же внутри архива с АС есть папочка RES.

                                Попробуйте в этой папке найти каталог Russian, и из него скопировать файл sStrings.res в основную папку с АС, заменив существующий (англоязычный) файл sStrings.res.

                                Тем самым вы прикрутите русский язык к пакету. Попробуйте скомпилировать и установить пакет.

                                in reply to: Instalation problem D5 and AC Free 11.04.2011 #45450
                                Witcher
                                Participant

                                  Hello,

                                  Please, re-download AC package again (files were updated).

                                  Now you mustn't have problems with installation.

                                Viewing 15 posts - 1 through 15 (of 15 total)