Hi
Just finishing of a Invoice printing program I decide to use the show vertical grid lines of a text field/table object.
It doesn't matter whether I show vertical/horizontal both gridlines the whole field prints out as black - except when hosrizontal ios printed as you get solid black with white lines. I did the obvious and set opaque on and of
set the fill color to white - stood on my head and whistled dixie and still no Joy.
I searched and found a question on the uselist http://lists.runrev.com/pipermail/use-l ... 13714.html someone had the same problem and was told it was probably a bug. So I thought well it's been nearly a year it should have been fixed by now.
So I loaded the stack into 8.1 DP3 and still the problem persists.
Changing the border color to white makes the grid lines white as well so that's no good.
Is this a bug or an undocumented feature?
Over to you Panos
KIndest Regards Lagi
[Edit WORKAROUND]TABLE PRINTING BUG or Undocumented Feature?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 366
- Joined: Mon Jun 10, 2013 1:32 pm
[Edit WORKAROUND]TABLE PRINTING BUG or Undocumented Feature?
Last edited by Lagi Pittas on Mon Sep 19, 2016 4:42 pm, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 366
- Joined: Mon Jun 10, 2013 1:32 pm
Re: [WORKAROUND] TABLE PRINTING BUG or Undocumented Feature?
The workaround is a simplr vewrsion of Scott Rossi's suggestion
I made the table field into a group "grpInvlines" because taking a snapshot of the rectangle was taking snapshot starting the desktop - it must be relative but I didnt have time to faff about.
Creating a group meant I could just say
and that created an image of the table field on the card.
The problem was if have to do this every time within the script and it seemed messy - but the image above the field didn't allow me to enter the invoice details/lines so .....
Change the layer of the image to the layer below the table field and change the blend of the table field to mutiple and allow the gridlines to show through the table field.
Voila .. don't need to create a snapshot or do anything else - it prints out like It should - It's still a BUG though - or is it there so that we don't get lazy and have to think?!
Lagi
I made the table field into a group "grpInvlines" because taking a snapshot of the rectangle was taking snapshot starting the desktop - it must be relative but I didnt have time to faff about.
Creating a group meant I could just say
Code: Select all
import snapshot from group "grpInvlines"
- 1. I then disabled the gridlines of the table field
2. Set the ink blend of the image via the IDE property inspector to multiple
3. Moved the image/snaphot exactly over the actual field so the gridlines showed around the correct "cells".
The problem was if have to do this every time within the script and it seemed messy - but the image above the field didn't allow me to enter the invoice details/lines so .....
Change the layer of the image to the layer below the table field and change the blend of the table field to mutiple and allow the gridlines to show through the table field.
Voila .. don't need to create a snapshot or do anything else - it prints out like It should - It's still a BUG though - or is it there so that we don't get lazy and have to think?!
Lagi