DarrenB

Forum Replies Created

Viewing 11 posts - 41 through 51 (of 51 total)
  • Author
    Posts
  • in reply to: Failed Painting TPopupMenu #49787
    DarrenB
    Participant
      'wesley wrote:

      Hello Friend Found A failed Painting TPopupMenu

      He Not Paint Correctly List if You Have Many Items on the Menu

      Thanks For Reading

      Note Annex a Demo.

      Hi,

      got your demo…looks like the error is cos menu is too big (long) for screen….mind you I have monitor here set at 1024×768 so don't know if that's the problem or not. Try this method out…enclosed demo…let me know if you can run it ok will you?

      Thanks

      Darren

      in reply to: Problem with Delphi XE Effect Hide MainForm #49784
      DarrenB
      Participant

        Hi Wesley,

        behaviour confirmed under Delphi XE, Vista 64bit. This is probably related to my problem

        here

        I'm sure Serge is aware of this and will fix it soon 🙂

        Demo attached to prove behaviour. Please also note that when FormShow AnimEffects is activated, the FormHide when activated seems to prevent the FormShow effect from working again?

        Demo has timer to 'reshow' form after button is pressed. Show effect not activated after initial load…for atAero or atFade.

        in reply to: How do I close popup of TsDateEdit #49778
        DarrenB
        Participant
          'Support' wrote:

          Try this :

          if sDateEdit1.FPopupWindow nil then TForm(sDateEdit1.FPopupWindow).Close;

          Perfect, thanks 🙂

          in reply to: How do I close popup of TsDateEdit #49776
          DarrenB
          Participant

            Thankyou…as long as I know you can reproduce it I know you will fix it!

            Your temporary code fix did work in removing the popup in the situation I described, however when 'coming back' to the form (making it visible again) and clicking on the DateEdit icon again, I get an Access Violation. In any case this isn't a biggie right now will wait a fix 🙂

            I did this

            if assigned(form2.sDateEdit1.FPopupWindow) then

            FreeAndNil(form2.sDateEdit1.FPopupWindow);

            in the form hide…don't know if the check for assigned is necessary.

            Happy New Year (a bit late, but still 🙂 )

            in reply to: BorderStyle = bsDialog on Mainform #49740
            DarrenB
            Participant

              Hi mol,

              thanks for the link…never knew about PmExplicit at all or what it did!…added it to my old app, it certainly didn't hurt anything, and tested it for a while…looks good so far will randomly test it out further over the next few days.

              Went here

              http://blogs.embarcadero.com/abauer/2004/02/10/295

              to further read up on it….it sounds like it's ideal as my 'problem' forms were all essentially 'floating tool windows'. Thanks v much 🙂

              in reply to: BorderStyle = bsDialog on Mainform #49737
              DarrenB
              Participant

                Hi ralfii,

                a while ago I had a similar problem that randomly a main form plus a couple of child forms (not AlphaSkins related) with AlwaysOnTop (fsStayOnTop) set would show issues similar to what you describe. It was driving me crazy as it didn't happen all the time…some times it wouldn't happen for a day of programming and then maybe only one or two times, then six times in a row etc….! I had a few timers working doing various stuff in the background. Didn't seem logical cos it wasn't consistent. Anyway, I just left it cos I couldn't figure it out…reading your post I see you mention that the child forms stay behind the main form even tho they shouldn't…until you click on the child form and the z order is resumed. I was just thinking if maybe during your form initialization process you could use delphi to simulate a mouse click to the child form programatically? This would, in theory, achieve what you have to do manually with the mouse…and if you hardcoded it into the parent form startup process then it should, in theory, get rid of the random effect? And in cases where the random effect didn't occur…a simulated mouse click to the child form shouldn't hurt the 'normal' process. I don't know…just firing an idea out there I guess it would need finessing.

                in reply to: TsTitleBar slight problem (Edit : Resolved : My Bad!) #49724
                DarrenB
                Participant
                  'Support' wrote:

                  Hi

                  How you defines a cursor over a non-client area?

                  Can you show an example please?

                  Hi Serge,

                  thanks for getting back to me. I'm really sorry I didn't know that there was a 'problem' (a windows thing not alphaskins) setting mouse cursor over non client area….my bad! I've edited my original post to show this.

                  Thanks again.

                  in reply to: Source File Not Found (*ControlName*).pas #49244
                  DarrenB
                  Participant

                    Hi Sascha 🙂

                    tried those options but none of them worked…apart from the 'Use Debug DCUs' which I toggled on my apps…the downside to that was that every line entered the debugger mode…system dcu's and alphaskins dcu's…the exception dialog went away though! At the moment I can live with the problem…am buying myself AlphaSkins at Christmas for my present to myself so then I'll have the .pas files anyway lol! I figure somehow I have corrupted my settings in the Delphi compiler but I have tried every conceivable combination of toggles relating to it so cannot see what I've done wrong…when I buy the AlphaSkins I'll do a clean reinstall of Delphi itself and hopefully that will get rid of any issues I'm having. Just want to point out to others that this is a problem with my Delphi config and NOT an Alphaskin issue!:):):)

                    Thanks for your efforts and suggestions, Sascha, I really appreciate them 🙂

                    Best Wishes

                    DarrenB

                    in reply to: Source File Not Found (*ControlName*).pas #49235
                    DarrenB
                    Participant

                      Hi CheshireCat/Sasha 🙂

                      many thanks for your reply. When I read it I thought you might be right and that my problem may have been solved but…

                      1) Deleted all bpl and dcp files

                      2) Deleted directory where I had unzipped files to.

                      3) Unzipped v8.03 to directory

                      4) Added directory to Library Path in Delphi

                      5) Opened acntDelphiXE_r.dpk

                      6) Went to Project/Options/Delphi Compiler/Compiling and changed 'Debug Information' to true. Compiled.

                      7) Opened acntDelphiXE.dpk

                      8) Went to Project/Options/Delphi Compiler/Compiling and changed 'Debug Information' to true. Installed.

                      9) All packages installed okay. My program works as expected.

                      except the problem is still there 🙁 F7 still causes the dialog box to be shown and program still defaults to CPU debug mode.

                      I tried all possible combination of 6) and 8) with Debug Information set to true/false on each. Still no joy 🙁

                      I also tried not changing any of them from my clean install as per the instructions in Install.txt

                      Also tried changing the Build Configurations of each from 'Release' to 'Debug' then compiling/installing again same problem 🙁

                      I also created a tiny app with SkinManager and SkinProvider on a clean form with one sLabel on it. In code I just did the lines

                      sLabel1.left :=50;

                      sLabel1.top:=50;

                      sLabel1.caption:='TEST';

                      placed a breakpoint on the first line, ran the program, pressed F7 and got the dialog for sLabel.pas 🙁 So its not specific to my big app but a problem with my configuration…somehow I've screwed things up!!!

                      DarrenB

                      in reply to: TsSpeedButton Glyph #49162
                      DarrenB
                      Participant

                        Hi Jacek,

                        I'm no expert so forgive me if I'm wrong…try using the TsAlphaImageList in AlphaTools instead of the TImageList…I use it all the time and it respects transparency perfectly for buttons as you describe them…reflected and all.

                        in reply to: i did it once and i do it again #39329
                        DarrenB
                        Participant

                          Totally agree with you…am constantly impressed by how far the team are prepared to go for their users. And the package just gets better and better. Well done all of you!!!! and like emailya said 'way to go!'

                        Viewing 11 posts - 41 through 51 (of 51 total)