Pierrotsc

Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Suggestion #53059
    Pierrotsc
    Participant

      I figured it out and it works 🙂 I could not believe it.

      Is it the way i have to do from now on, or would an alignment property be added to the lookupcombobox later on?

      Thanks

      Peter

      in reply to: Suggestion #53054
      Pierrotsc
      Participant
        'Support' wrote:

        After DblClick on DataSet in design-time you will see a collection window where may be placed and configured all data fields from this dataset.

        There you can set Alignment property for each field of the table.

        i figured it out but now i am getting database error when the program starts. let me work on it..

        in reply to: Suggestion #53052
        Pierrotsc
        Participant
          'Support' wrote:

          Sorry, I meant a Lookup Field from DataSet, you can set alignment of text there (in the dataset fields property editor).

          I opened both listsource dataset and datasource dataset and i do not see any alignment field. Sorry.

          Maybe you have a screenshot? I use nexusdb as my database.

          Peter

          in reply to: Suggestion #53050
          Pierrotsc
          Participant
            'Support' wrote:

            You should use lookup Field.Alignment, like in standard component. Please, try to set it in the field.

            Maybe i am a numb nut but the only thing i see is align. And that has the option to alclient, alnone, alleft…

            Am i supposed to do that with code or in the component property?

            for example, in the dbdataedit, i do have an alignment property but it does not show up in the dblookupcombobox.

            Thanks.

            Peter

            in reply to: Suggestion #53048
            Pierrotsc
            Participant
              'Support' wrote:

              Yes, just replace the file and rebuild your application.

              I replaced it, rebuild the db dpk and rebuild my application. I do not see any new property that would let me center the text in the dblookupcombobox.

              Thanks.

              Peter

              in reply to: Suggestion #53044
              Pierrotsc
              Participant
                'Support' wrote:

                Hello!

                Try this changed unit, please.

                thanks, i will try it today and will post the result…i assume, i do not have to recompile the dpk, i just need to replace the unit. is that correct?

                in reply to: Disabling alphaskin #52988
                Pierrotsc
                Participant
                  'mol' wrote:

                  uses

                  sSkinManager;

                  on your scanning form?

                  -Uwe

                  Thanks…That did it.

                  in reply to: Disabling alphaskin #52984
                  Pierrotsc
                  Participant
                    'Support' wrote:

                    Hello

                    You can disable a skinning of dialogs by this code: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules – [srThirdParty]

                    Enable: sSkinManager1.SkinningRules := sSkinManager1.SkinningRules + [srThirdParty]

                    Write again if it doesn't helps.

                    The scanning form is not on the main form so i have to use mainform.skinmanager.skinningrules to point it to the right thing. Now i get a red line under srthirdparty. What code do i need to write to point it to the skinmanager on the mainform?

                    Thanks.

                    Peter

                    in reply to: Suggestion #52974
                    Pierrotsc
                    Participant
                      'Support' wrote:

                      Hello Peter

                      This feature may be implemented later, I think

                      thank you..

                      in reply to: combobox centering #52807
                      Pierrotsc
                      Participant
                        'Support' wrote:

                        Hello! This property has been published, but drawing of aligned text has been cancelled temporary for some reasons.

                        This property will work as expected soon, but with active skins only .

                        Thank you. What do you mean with active skins only? When i place a combobox, it is skinned.

                        in reply to: combobox centering #52798
                        Pierrotsc
                        Participant
                          'Pierrotsc' wrote:

                          When i select the text to be centered on a combobox (Alignment tacenter), the text is still left justified.

                          Version 9.18

                          Thanks.

                          Pierre

                          Never heard back. Is that normal or is it a bug..Starting to use back alphacontrols and not sure if i can center the text in a combobox.

                          Thanks

                          in reply to: Progressbar not visible #52788
                          Pierrotsc
                          Participant

                            What about “Progressbar.visible := false !!!” Just found that in my code. Now i really feel dumb.

                            Pierre

                            in reply to: Progressbar not visible #52785
                            Pierrotsc
                            Participant
                              'Support' wrote:

                              Hello!

                              Can you show a demo, please?

                              Going to be tough as I have a lot of code and I know something is conflicting somewhere. If I create a new app and put a progressbar on it, it works fine. Let me troubleshoot more.

                              Thanks.

                              in reply to: Groupbox with panel #51205
                              Pierrotsc
                              Participant

                                That is indeed a very good suggestion. I did not think about it. Let me try that. Thanks

                                in reply to: Groupbox with panel #51203
                                Pierrotsc
                                Participant

                                  Not really. If i change the skin to checkbox, the groupbox has no border but you can still see its background sticking out on the top of the panel. I do not mind having the groupbox borders, i just want the panel to fill it completely.

                                  Right now, it does not look “Clean”. The border only shows on the top and not on all around.

                                  Do you see what I mean? Can you duplicate it?

                                  Maybe it is intended to be like that 🙂

                                  P

                                  in reply to: Groupbox with panel #51201
                                  Pierrotsc
                                  Participant

                                    Here, i just created a new form, dropped a groupbox and a panel inside. You can see it in the design that it does not fill the whole groupbox.

                                    here's the text:

                                    object Form1: TForm1

                                    Left = 0

                                    Top = 0

                                    Caption = 'Form1'

                                    ClientHeight = 347

                                    ClientWidth = 535

                                    Color = clBtnFace

                                    Font.Charset = DEFAULT_CHARSET

                                    Font.Color = clWindowText

                                    Font.Height = -11

                                    Font.Name = 'Tahoma'

                                    Font.Style = []

                                    OldCreateOrder = False

                                    PixelsPerInch = 96

                                    TextHeight = 13

                                    object sGroupBox1: TsGroupBox

                                    Left = 128

                                    Top = 104

                                    Width = 185

                                    Height = 177

                                    TabOrder = 0

                                    SkinData.SkinSection = 'GROUPBOX'

                                    object sPanel1: TsPanel

                                    Left = 2

                                    Top = 15

                                    Width = 181

                                    Height = 160

                                    Align = alClient

                                    Caption = 'sPanel1'

                                    TabOrder = 0

                                    SkinData.SkinSection = 'PANEL'

                                    ExplicitLeft = 40

                                    ExplicitTop = 88

                                    ExplicitWidth = 185

                                    ExplicitHeight = 41

                                    end

                                    end

                                    object sSkinProvider: TsSkinProvider

                                    AddedTitle.Font.Charset = DEFAULT_CHARSET

                                    AddedTitle.Font.Color = clNone

                                    AddedTitle.Font.Height = -11

                                    AddedTitle.Font.Name = 'Tahoma'

                                    AddedTitle.Font.Style = []

                                    DrawNonClientArea = False

                                    SkinData.SkinSection = 'FORM'

                                    TitleButtons =

                                    Left = 136

                                    Top = 40

                                    end

                                    end

                                    Thanks.

                                    in reply to: Groupbox with panel #51200
                                    Pierrotsc
                                    Participant

                                      I may remove some components before I give you the dfm as it is pretty large.

                                      I have a snotebook.

                                      Inside the snotebook page, I have a devexpress layoutcontrol form to keep the component groupbox centered in the middle of the page.

                                      the snotebook is skinned, so is the groupbox.

                                      Let me try to see what happen without the devexpress layoutcontrol.

                                      I'll get back in a few..

                                      in reply to: Groupbox with panel #51197
                                      Pierrotsc
                                      Participant
                                        'Support' wrote:

                                        Could you show a screenshot, please?

                                        Sure…here you go..[attachment=6565:groupbox.PNG]

                                        in reply to: Devexpress and AC system buttons #51195
                                        Pierrotsc
                                        Participant
                                          'Support' wrote:

                                          Hello!

                                          Try disable the TsSkinProvider.DrawNonClientArea property. That's what you want, I think.

                                          Perfect, just what I needed…Thanks a lot..

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