• Listbox on Report

    From cedarsystems@gmail.com@21:1/5 to All on Tue Jun 18 00:33:38 2019
    Hi All,

    Clarion 8

    I have a template generated report (a simple invoice) that I want to print a Tax Table (Listbox) at the bottom.

    I have it working well but, with 1 problem.

    In order to place the listbox at the bottom of the page (it's in it's own band) I have tried to use the "absolute" control to position the band.
    This just "mashes" the listbox.

    If I just let it print wherever it wants. It's fine.

    Am I missing something basic or, will it just not work ?

    NB, I have studied the help until my eyes are bleeding <G>

    TIA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean H@21:1/5 to cedarsystems@gmail.com on Sat Jun 22 16:25:26 2019
    On 18/6/19 5:33 pm, cedarsystems@gmail.com wrote:
    Hi All,

    Clarion 8

    I have a template generated report (a simple invoice) that I want to print a Tax Table (Listbox) at the bottom.

    I have it working well but, with 1 problem.

    In order to place the listbox at the bottom of the page (it's in it's own band) I have tried to use the "absolute" control to position the band.
    This just "mashes" the listbox.

    If I just let it print wherever it wants. It's fine.

    Am I missing something basic or, will it just not work ?

    NB, I have studied the help until my eyes are bleeding <G>

    TIA


    Are you actually putting a listbox control on the band? I've never been
    able to get that to work!

    You might have problems if the band goes over the edge of the printable
    area.

    You might also try asking in the newsgroups at news.softvelocity.com or
    at clarionhub.com


    Sean H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From cedarsystems@gmail.com@21:1/5 to All on Sat Jun 22 11:14:28 2019
    Yes Sean,

    The listbox is on it's own band and I've got it working just fine. It's quite easy.

    Problem is when I make the bands position "absolute" (to print the listbox at the bottom of the page) , it mashes the listbox.

    I know the reason why it does it. It's the loop that updates the listbox and calls the print engine (print(rpt:detail3)).
    Because the band is in an absolute position, it prints at the same spot on the page each time the print instruction is called.

    Haven't been on the "news" site for years. Might give it a try. Last time I asked anything over there the answer was mostly "buy this template, buy that template". OK solutions but I want to KNOW the answer not buy it.

    Will take a look at Clarionhub as well.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)