HeDiBo

Forum Replies Created

Viewing 20 posts - 241 through 260 (of 1,174 total)
  • Author
    Posts
  • in reply to: AC15.03: TsDateEdit calls OnAcceptDate way too many times #68601
    HeDiBo
    Participant

      In AC 15.05, it’s still calling OnAcceptDate for all dates 3 times. The less intrusive calls are now eliminated, I would preferred it the other way around.

      PS. The AC 13.05 in the topic header should be AC15.03

      in reply to: PageControl add/update new function #68585
      HeDiBo
      Participant

        Very simple to build this yourself:

        procedure SetActiveTab(PC: TsPageControl; PageNr: Integer);
        var
           Accept: Boolean;
        begin
           PC.OnChanging(PC, Accept);
           if not Accept then Exit;
           PC.ActivePageIndex := PageNr;
           PC.OnChange(PC);
        end;
        
        in reply to: PageControl add/update new function #68583
        HeDiBo
        Participant

          Can you explain which problem this change solves that is not handled by the OnChanging and OnChange events?

          HeDiBo
          Participant

            Appologies, I enclosed the wrong picture (not pertaining to the dates list).

            Attachments:
            You must be logged in to view attached files.
            in reply to: How to change Font Color of Popup´s #68546
            HeDiBo
            Participant

              Hello
              Do you use the ShowPopupForm procedure for showing of the form?
              Which components are placed there? Which control shows a text?

              No, Guido means the standard Windows dialogs, when SkinManager.SkinningRules.srStdDialogs = True. And in fact Office 2007 Black is the only one that’s problematic. So it’s a skin problem.

              in reply to: Prevent TsPopupController from closing a form #68540
              HeDiBo
              Participant

                This is a silly setup I have. The help window must stay, until manually closed by the user. Even if the popup window is long gone.
                The only thing I can think of is special coding to prevent the popup screen from closing if focus went to that help screen. But it’s totally OK if focus went to a window different from that help window. In that case the help window should stay open however.
                So it is definitely not just a simple flag.

                HeDiBo
                Participant

                  It’s still wrong in 15.04

                  in reply to: TsTabsheet.TabType = ttButton makes tab inoperable (AC15.03) #68531
                  HeDiBo
                  Participant

                    I see. I didn’t know that. The TsTabSheet is not documented.

                    in reply to: Prevent TsPopupController from closing a form #68530
                    HeDiBo
                    Participant

                      I think, using of the OnCloseQuery event may help in this case.

                      No, it does not. After the help screen is created, it’s pretty much on its own. It is not related in any way any more to the window that created it. So there’s nothing to test in OnCloseQuery.

                      in reply to: Forum’s message time is off by two hours #68524
                      HeDiBo
                      Participant

                        I’ve made a screen shot of the message above, to show you.
                        The message was posted at 11:48 am!!

                        Attachments:
                        You must be logged in to view attached files.
                        in reply to: Forum’s message time is off by two hours #68523
                        HeDiBo
                        Participant

                          The strange 2 hour time difference is still there

                          in reply to: Prevent TsPopupController from closing a form #68520
                          HeDiBo
                          Participant

                            The HTML help screen is totally separate from the rest of the application. It stays visible until the help screen itself is closed. So any activity on this help screen (like scrolling the text) should not close the popup screen, but activity on other parts of the application should close the popup screen.
                            Maybe these requirements are too conflicting.

                            in reply to: AC 15.02: Problem with ShowPopupForm #68519
                            HeDiBo
                            Participant

                              There are 5 occurrences of HWND_TOPMOST in that module. I don’t think it is a good idea to change all of them. After all, you must have had a good reason to put them there.
                              I know this hWndInsertAFter parameter may cause problems if not used correctly (like a windows not showing at all). So, I’m not feeling OK about this.
                              There may be another way of going about this. Maybe you could use HWND_TOPMOST only if project is not being run in the Delphi debugger. That would give the best of both worlds.

                              So, in the initialization of the acPopupController have code like this:

                              if System.DebugHook = 0 then hWndInsertAfter := HWND_TOPMOST
                                                      else hWndInsertAfter := HWND_TOP
                              in reply to: In TsMonthCalendar, dimmed cells mat be unreadable (AC15.02) #68510
                              HeDiBo
                              Participant

                                Problem solved in 15.03 🍰
                                Please close the subject

                                in reply to: Prevent TsPopupController from closing a form #68509
                                HeDiBo
                                Participant

                                  The popup in question is viewable in #86507
                                  The popup form contains a help button which will produce a HTML help screen. But in doing so, closes the popup form.

                                  in reply to: AC 15.02: Problem with ShowPopupForm #68507
                                  HeDiBo
                                  Participant

                                    This is a better view on the problem.
                                    It’s part of the screen with the expolorer on it. But, because the popup window’s process is in suspended state by the Delphi debugger, I cannot get rid of it. It seems to think it has to be on top always.

                                    Attachments:
                                    You must be logged in to view attached files.
                                    in reply to: AC 15.02: Problem with ShowPopupForm #68471
                                    HeDiBo
                                    Participant

                                      I’m not sure which parameters.
                                      What happens is that the popup window monopolizes the mouse cursor, although it is not visible.
                                      Try this:
                                      Make a project with a popup window.In the form of the popup window set a breakpoint. Run the project in the debugger until it hits the breakpoint. Now switch to another program, let’s say the explorer. Try to select a file that is in the same area as the popup window (now hidden) is. It is not possible.

                                      in reply to: sMonthCalendar produces wrong date #68448
                                      HeDiBo
                                      Participant

                                        Please close this topic.

                                        in reply to: File Open dialog distorted. #68447
                                        HeDiBo
                                        Participant

                                          Problem solved 🎈
                                          You can close this topic.

                                          in reply to: Forum’s message time is off by two hours #68446
                                          HeDiBo
                                          Participant

                                            I don’t know. You see that the message is 2 hours off. The server should take care of the time zone. Best by storing messages in universal GMT time and compensating when showing it.
                                            I don’t know if you see the same thing. My message header says: “Februari 8, 2020 at 2:08 pm”. But in local time it was posted at 12:08 pm.

                                          Viewing 20 posts - 241 through 260 (of 1,174 total)