Forum Replies Created
-
AuthorPosts
-
HeDiBoParticipant'Support' wrote:
The problem with caption I can't reproduce seems. Maybe you can share a PC with me for remote debugging?
UpdateSkinCaption(sSkinProvider1) procedure can repaint a form title quickly and may be used as temporary solution.
The problem of the application icon is solved in 7.51.
The problem with the form's appearance when running in the IDE is still the same for “AllowExtBorders” = True and “”DrawNonClientArea”= True.
Thanks
HeDiBoParticipant'Support' wrote:I'm sorry, I not quite understand a problem. You have received wrong colors?
I think the complaint is that in the Moonlight skin the colors for Highlight and for Global appear to be the same.
HeDiBoParticipant'Support' wrote:The problem with caption I can't reproduce seems. Maybe you can share a PC with me for remote debugging?
UpdateSkinCaption(sSkinProvider1) procedure can repaint a form title quickly and may be used as temporary solution.
I've set up a Teamviewer session for you. In a PM you'll find the data. I'll wait.
HeDiBoParticipant'Support' wrote:These problems are really different, try attached file please.
Unfortunately, your changes to sSkinProvider didn't change anything.
I found a problem with the application icon. If I compile the program with BPL's, the icon becomes transparent at some points.
This is the icon used:
[attachment=5117:ICON32Fuchsia.bmp]
It comes out like this:
[attachment=5118:Distorted Icon.jpg]
or like this:
[attachment=5119:Distorted Icon 2.jpg]
So it's transparent depending on the background. This is the project:
[attachment=5120:FormCaption2.rar]
Good luck ;-}
HeDiBoParticipant'Support' wrote:These problems are really different, try attached file please.
I'll try it as soon as possible
I'm on holiday now
HeDiBoParticipant'Support' wrote:Sorry, I mean that this topic is not linked with topic about the DebugBreak problem (you are posted a link to this topic as to linked problem).
Not so sure about that. The phenomena also occurs only when running in the IDE environment.
'Support' wrote:Are you sure that latest version of skin used there?
Maybe old version of skin is loaded when program is started from IDE?
Latest version is used (7.48).
Problem still present in AC 7.48
HeDiBoParticipant'Support' wrote:I'm not sure that your issue and DebugBreak problem are linked :
And I'm not sure your answer has anything to do with this problem. Did you answer in the wrong topic?
On my analysis earlier: the problem of the transparent window occurs if DrawNonClientArea = False.
Greetings ;-}
Dick
HeDiBoParticipantHi Serge,
My buildnumber of Delphi 7 is 8.1
I'm running 32 bits Vista Home edition.
I enclose a picture that shows more clearly what's happening:
[attachment=5068:FormProblems.jpg]
The picture on top shows the program when running stand-alone.
The two pictures below that show the program when running inside the IDE.
The left one is how it looks immediately after running it.
The right one shows how it looks after another program was activated and subsequently focus came back to the test program.
The problem only occurs, obviously, when ExtendedBorders = True.
In my development environment, I use CnPack and GExperts.
Thanks ;-}
Dick
HeDiBoParticipant'ralfiii' wrote:Did you implement such an iPhone-like window-that-slides-out function?
Sorry Ralf, never got to implement such thing :a8: .
HeDiBoParticipant'AndreSoft' wrote:What version Alpha Controls? I am using the 7.47 Beta
Me too
'AndreSoft' wrote:When you leave a new version update, what should I download site.
I received the download link by ShareIt. It will be the same link?
I'm not the developer, just a user like you.
HeDiBoParticipantIt doesn't look the same, but I think the cause of both problems is the same ^_^
HeDiBoParticipant'AndreSoft' wrote:The problem only occurs in the way of delphi 7 runtime when I click on the bar
title.
When I compile, this problem does not happen.
I know. The same thing happens here. The borders of the form are not even drawn right. Things look OK when the program runs outside of the IDE.
HeDiBoParticipantRepost your issue in the Russian section
HeDiBoParticipant'AndreSoft' wrote:But in the run mode delphi Run time when you click on the bar
title, the screen attached below and the program crashes. In order
compiled this problem does not happen. Is this normal?
This looks a lot like this topic.
Serge, maybe some examination is still in order.
HeDiBoParticipant'ralfiii' wrote:Doesn't work as then the title area is not draw unless you hover the mouse over it.
You may need some extra work, for instance in the OnPaint event. I'm lost here 😮
Serge, any ideas?
HeDiBoParticipantSince TJvRollOut descends from TCustomPanel, you might try to add it to the list of ThirdParty controls as a Panel component.
HeDiBoParticipant'Pedro-Juan' wrote:How can I do transparent it? I have tried with many images and always the same.
I believe the background should be Fuchsia (hex FF00FF). I use this picture in my application:
[attachment=4983:ICON32Fuchsia.bmp]
That comes out transparent.
Hope it helped.
HeDiBoParticipant'Support' wrote:Thank you for information, I will research a patched file that you sent to me.
I was a bit stupid not to test this: if I remove all VCL patches that I made (all, not only those in Forms.pas) I have the same problem (now in 7.45 also).
I did some more testing:
- The bug is not related to a particular skin.
- If you minimize the form and then restore it, the caption looks fine. But one click on the button and the problem is back.
- Fiddling with the form size or the position of the button doesn't change anything.
- Switching ExtendedBorders on, produces (mind you: only within the IDE) this effect:
- Removing the TitleIcon altogether doesn't cure the caption problem.
- Hiding scrollbars (Visible = False) does not change anything.
- Setting Effects.AllowGlowing to False doesn't change anything.
- Setting AnimEffects.FormHide.Active and AnimEffects.FormShow.Active to False doesn't change anything.
- Setting AnimEffects.BlendOnMoving.Active to True doesn't seem to do anything at first: the wrongly painted caption simply moves in a blended way. However as soon as you release the mouse button, removing the blended effect, the caption paints OK. But a click of the button restores the old behavior.
- SkinProvider.AllowAnimation to False doesn't help.
- SkinProvider.DrawNonClientArea produces this:
- Setting SkinProvider.ShowAppIcon to False doesn't change anything.
- Adding TitleButtons doesn't change anything.
- Applying a nonstandard TitleSkin does not help either.
- Setting SkinProvider.UseGlobalColor to False has no effect.
[attachment=4956:StrangeBorders.jpg]
It is removed by a task switch (it does not have to cover the form: as soon as the other task gets focus, the buggy effect is gone). The caption problem does not occur with ExtendedBorders = True. Most of the time the SkinProvider.TitleIcon is completely distorted.
[attachment=4957:StrangeBorders2.jpg]
Again, only when ran from the IDE.
So far the tests that I executed. Although it looks like a minor bug, it reveals a potential skinning problem, that will pop up in the future (thanks to Murphy's Law).
HeDiBoParticipantRemember: it's Delphi 7.
-
AuthorPosts