Author |
Topic ![Next Topic Next Topic](images/icon_go_right.svg) |
|
pierrotsc
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
497 Posts |
Posted - Dec 26 2018 : 09:55:24
|
In my code or in the layer demo, the bordercolor does not update when you apply it or increase its size UpDownBorderWidth.Position := TrackBarLayerBorderWidth.Position; ImageEnView.CurrentLayer.BorderWidth := TrackBarLayerBorderWidth.Position; ImageEnView.Update();
So, i enable the bordercolor, but nothing shows. i increase its size, nothing shows. then i move the later or rotate it and suddenly it shows.
Advice ? Thanks |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Dec 26 2018 : 21:19:28
|
Hi
I cannot reproduce that. Are you saying it happens on on our compiled layers demo too:
https://www.imageen.com/demos/
What version of Delphi are you on? What type of layer is it?
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
pierrotsc
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
497 Posts |
Posted - Dec 28 2018 : 08:33:01
|
Nigel, i am using the latest imageen, windows 10 and berlin. Look at the screenshot. you can see that i have a red border with a big size and nothing is showing. my code acts the same and I also use Bill's brushtool demo. Bill says it works with his demo but not on my computer. Not sure if it is a video driver issue. when i ove the layer, the border appears and then i can decresae its size or increase.
![](attach/pierrotsc/2018122883245_bc.png) |
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
w2m
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
1990 Posts |
Posted - Dec 28 2018 : 08:57:23
|
Add a layer and then it will work. You can not change the Background layer border color or width.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Dec 28 2018 : 14:28:02
|
Sorry, Bill is correct. Borders aren't valid for the background layer unless they are offset (i.e. treated like a layer).
I'll improve the documentation.
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
pierrotsc
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
497 Posts |
Posted - Dec 30 2018 : 14:10:42
|
Well, not really. if you add a border to a background, it does not show but if after that you rotate the background layer or just move it after you unlock it, the border shows up. |
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Jan 02 2019 : 13:51:18
|
Hi
Yes, any action that puts it into "layer mode" enables the layer properties. Even settings its PosX to a non-zero value should be sufficient.
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
pierrotsc
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
497 Posts |
Posted - Jan 02 2019 : 14:14:12
|
Nice, i will try to add some code i guess to move the layer back and forth a pixel to have the border appear
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Jan 03 2019 : 22:11:30
|
Yes, I'll see if we can devise are more standard way once we are back in the office.
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Jan 08 2019 : 21:10:15
|
FYI, in 8.3.0, it will always render the borders.
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
pierrotsc
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
USA
497 Posts |
Posted - Jan 09 2019 : 08:41:32
|
awesome..thank you |
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
MarcoG
USA
1 Posts |
Posted - Jan 09 2019 : 09:40:20
|
Hi Nigel, what's rendering the borders going to do for the images? Sorry for the newbie question. |
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
xequte
![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif) ![](images/icon_star_gold.gif)
38418 Posts |
Posted - Jan 09 2019 : 17:37:58
|
Hi
It is only a layer option, so the image is not affected in any way (just drawn over it). In fact if you save to any format other than ImageEn's native IEN format, the border will be lost.
Nigel Xequte Software www.imageen.com
|
![Go to Top of Page Go to Top of Page](images/icon_go_up.svg) |
|
|
Topic ![Next Topic Next Topic](images/icon_go_right.svg) |
|