mol

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 124 total)
  • Author
    Posts
  • in reply to: Disabling alphaskin #52985
    mol
    Participant
      'Pierrotsc' wrote:
      What code do i need to write to point it to the skinmanager on the mainform?

      uses

      sSkinManager;

      on your scanning form?

      -Uwe

      in reply to: Groupview (Listview) select hide Focus ? #52875
      mol
      Participant

        You would have to override CustomDrawSubItem() to perform your own drawing, I guess.

        https://groups.google.com/forum/#!topic/borland.public.delphi.language.delphi.win32/gHt8XKcgUAU

        -Uwe

        in reply to: Webbrowser and WebGMapsLookupEdit #52848
        mol
        Participant

          Hi Dick,

          AFAIK, Firefox and Chrome do not allow user-defined painting of scrollbars, but there are other ways such as WebKit CSS to achieve this. IE is important though because the TWebBrowser component is based on it.

          -Uwe

          in reply to: Webbrowser and WebGMapsLookupEdit #52845
          mol
          Participant

            Serge,

            Just remember that it is possible to change all scrollbar elements with CSS through IE-proprietary tags. Might interfere with the painting of your own scrollbars.

            -Uwe

            in reply to: Progressbar not visible #52789
            mol
            Participant

              LOL!

              -Uwe

              in reply to: Progressbar not visible #52786
              mol
              Participant

                Might be the Z-order. Have you tried to bring the control to the front by right-clicking on it and then selecting Control -> Bring to Front?

                -Uwe

                in reply to: VirtualTree background color #52782
                mol
                Participant

                  Thanks, Serge. As I told you already in my e-mail, the code works perfectly when changing the background color of a VirtualStringTree or VirtualExplorerTreeview. Unfortunately though, the background color is the only color that can be changed this way. Selection colors, font colors and so on stay the same no matter what. Unless somebody else knows a solution, I will probably just go ahead and create my own skin.

                  -Uwe

                  in reply to: VirtualTree background color #52727
                  mol
                  Participant

                    Hi Serge

                    Unfortunately, this solution doesn't seem to work for me. I've sent you a little demo project via e-mail.

                    Thanks

                    -Uwe

                    in reply to: Why is the highlight of a selection always blue? #52498
                    mol
                    Participant
                      in reply to: Flickering toolbars #51968
                      mol
                      Participant

                        Hi Friedemann

                        'Schmidtze' wrote:

                        but then I have to lock a lot of panels always

                        Just replace Panel1 with Form1, or you follow my advice from a few weeks ago and finally ditch SpTbx… 😀

                        -Uwe

                        in reply to: Flickering toolbars #51966
                        mol
                        Participant

                          Friedemann,

                          'Schmidtze' wrote:

                          where do you think I should insert this?

                          I would use the OnClick event of the toolbar item. Have you tried

                          {…}

                          SendMessage(Panel1.Handle, WM_SETREDRAW, 0, 0);

                          Open your dialog here

                          {…}

                          SendMessage(Panel1.Handle, WM_SETREDRAW, 1, 0);

                          RedrawWindow(Panel1.Handle, nil, 0, RDW_FRAME or RDW_INVALIDATE or RDW_ALLCHILDREN or RDW_NOINTERNALPAINT);

                          in that event already?

                          -Uwe

                          in reply to: Flickering toolbars #51964
                          mol
                          Participant

                            Hi Friedemann

                            Does LockWindowUpdate(Form1.Handle) do the trick?

                            -Uwe

                            in reply to: Border control for child windows #51662
                            mol
                            Participant

                              Pete,

                              'Pete wrote:

                              Is there a way for child windows I can see: 'don't draw a border'.

                              Use frames instead of forms. Much easier to handle in a complex application IMO.

                              -Uwe

                              in reply to: About AlphaSkins v9.0 beta #51659
                              mol
                              Participant

                                Great. Looking forward to your demo, Serge.

                                in reply to: About AlphaSkins v9.0 beta #51621
                                mol
                                Participant

                                  Serge

                                  Congrats for the new version. That looks very promising. One question though: are third party controls like VirtualExplorerTreeview and similar also handled? For example, can you change the scrollbar width of a third party control as well now? I don't want to install the beta just yet because of time constraints.

                                  Thanks

                                  Uwe

                                  in reply to: FrameBar and shelltree onclick event #51540
                                  mol
                                  Participant

                                    Dennis

                                    Why don't you assign the procedure to the ShellTree's OnClick event dynamically then?

                                    Code:
                                    public
                                    TNotifyEvent = procedure(Sender: TObject) of object;

                                    procedure TForm1.TreeClick(Sender: TObject);
                                    begin
                                    {…}
                                    end;

                                    TFrame1(sFrameBar1.Items[0].Frame).ShellTree.OnClick := TreeClick; // After an instance of the frame has been created

                                    -Uwe

                                    in reply to: FrameBar and shelltree onclick event #51538
                                    mol
                                    Participant

                                      What are you doing in the OnClick event? If you don't have to access or manipulate the selected file for example, you could simply write a separate procedure which can be called from both the ShellTree and the main form.

                                      Code:
                                      procedure DoSomething;
                                      begin
                                      {…}
                                      end;

                                      procedure ShellTreeClick;
                                      begin
                                      DoSomething;
                                      end;

                                      -Uwe

                                      in reply to: FrameBar and shelltree onclick event #51536
                                      mol
                                      Participant
                                        in reply to: Suggestion: Transparent container #51530
                                        mol
                                        Participant
                                          'Jeremy©JTECH' wrote:
                                          the code you posted will overwrite the group box's client area

                                          Well, you wanted to get rid of the border… 😉

                                          Here's another approach which should work: http://delphidabbler.com/tips/74

                                          Quote:
                                          Wouldn't a new TRANSPARENT setting make more sense

                                          Don't know; I hardly ever work with transparency. If I recall correctly, there are always problems associated with TWinControls and transparency. What happens if you put those on a semi-transparent TFrame? Isn't the painting too much of a hassle?

                                          -Uwe

                                          in reply to: Suggestion: Transparent container #51528
                                          mol
                                          Participant
                                            'Jeremy©JTECH' wrote:
                                            Can the border on TGroupBox be made invisible?

                                            I would think so. You could derive your own groupbox and override the paint method (untested):

                                            Code:
                                            type
                                            tBorderless=class(TGroupbox)
                                            protected
                                            procedure Paint; Override;
                                            end;

                                            procedure tBorderless.Paint;
                                            var
                                            R: TRect;
                                            begin
                                            with Canvas do
                                            begin
                                            R := ClientRect;
                                            Brush.Color := Color;
                                            FillRect(R);
                                            end;
                                            end;

                                          Viewing 20 posts - 21 through 40 (of 124 total)