For Programmers: Free Programming Magazines  


Home > Archive > Clarion > May 2004 > Browsing with alias









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Browsing with alias
Volker

2004-04-29, 9:30 am

Hello,

In Clarion you can define a lineheight for a list box.
But you cannot define variable lineheights (useful, when you have an
image in one column and a multi-line-group in the next column. Should
look like this:
------------------------------
| | |
| |-------------------|
| | |
| |-------------------|
| | |
| |-------------------|
------------------------------
Seems to be impossible. But clarion provides alias tables.
My idea would be to place the image-listbox in the original table and
the
alias-table right to it.

My problem is: How can I control the alias listbox to show the same
records
like in the image-listbox. Example: When my cursor bar is on third
position and on record 547 then the alias-listbox should show the same
record also on third position.

I hope you understood this. Easy to wish, difficult to explain... :-)

Greetings,

Volker
Diego Sanchez

2004-04-30, 2:32 pm

Volker

You can show the image on the window just place an Image control
outside the browse and on ThisWindow Reset place the code:

?Image1{Prop:Text}=TpsTable.RECORD.Tab:Image

The image changes automatically as you move down or up in your browse.

Hope it helps

Diego Sanchez


support@vg-software.de (Volker) wrote in message news:<f93ad99d.0404290027.2b0c703b@posting.google.com>...
> Hello,
>
> In Clarion you can define a lineheight for a list box.
> But you cannot define variable lineheights (useful, when you have an
> image in one column and a multi-line-group in the next column. Should
> look like this:
> ------------------------------
> | | |
> | |-------------------|
> | | |
> | |-------------------|
> | | |
> | |-------------------|
> ------------------------------
> Seems to be impossible. But clarion provides alias tables.
> My idea would be to place the image-listbox in the original table and
> the
> alias-table right to it.
>
> My problem is: How can I control the alias listbox to show the same
> records
> like in the image-listbox. Example: When my cursor bar is on third
> position and on record 547 then the alias-listbox should show the same
> record also on third position.
>
> I hope you understood this. Easy to wish, difficult to explain... :-)
>
> Greetings,
>
> Volker

Volker

2004-05-03, 12:01 pm

Thank you, but: no, that doesn't help... :-)

I know that, but that looks not so good. I have a real image box. That
looks better. But that's not the problem.
The problem is to control the right (aliased) list box, when the left
(imagelistbost) changes (new selection, accepted, whatever)

So, my picture was not clear. The left and the right area are two
different
list-box-controls. The images are no problem. Problem is, to control
the right
box.

------------------------------
|1st list| 2nd list-box |
| box |-------------------|
| | here are the data |
|here is |-------------------|
|a jpg | |
|embedded|-------------------|
------------------------------

Better now? <G>

Volker

dydsoft@racsa.co.cr (Diego Sanchez) wrote in message news:<485856fe.0404300442.4e7b05b6@posting.google.com>...[color=darkred]
> Volker
>
> You can show the image on the window just place an Image control
> outside the browse and on ThisWindow Reset place the code:
>
> ?Image1{Prop:Text}=TpsTable.RECORD.Tab:Image
>
> The image changes automatically as you move down or up in your browse.
>
> Hope it helps
>
> Diego Sanchez
>
>
> support@vg-software.de (Volker) wrote in message news:<f93ad99d.0404290027.2b0c703b@posting.google.com>...
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com