SG mode background/image under border?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

SG mode background/image under border?

Postby HPW » April 24th, 2006, 7:54 am

Just rechecked it with no zoom.

So when I change borderstyle from bsSolid to bsClear
the border at left/top gets node background/image and the border
at right/bottom gets component background

Correct?

Sorry when I am boring. :roll:
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » April 24th, 2006, 10:43 am

Please feel free to ask questions.

According to MSDN help:
If a PS_NULL pen is used, the dimensions of the rectangle are 1 pixel less in height and 1 pixel less in width.

By the way, are bottom and right margins zero?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » April 24th, 2006, 11:06 am

>By the way, are bottom and right margins zero?

Yes.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby HPW » April 24th, 2006, 2:36 pm

So when I want to see the left and top pixels of an image-background I have to define a small margin left and top.
(Only if border is not bsClear)
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » April 24th, 2006, 3:24 pm

Yes, for the moment it could be solution.

In the next release, I'll check for this condition.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » April 24th, 2006, 4:53 pm

Kambiz wrote:In the next release, I'll check for this condition.


A timeline when this could happen?
No pressure, I only want to know if an interim solution make sense.

Will the width/height values stays as they are in the moment?
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » April 24th, 2006, 5:52 pm

No, I'll not change Width and Height properties.

To be honest, I don't know when the next version will be released. Currently I'm working on other stuffs. I was spending more time on SG and it was getting a bit boring. :)
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 3 guests

cron