Page 1 of 1

Browse con HEADERIMAGES

Posted: Sat May 30, 2009 7:56 am
by fchirico
Hola!!

No puedo lograr que en un BROWSE solo pueda mostrar imágenes en las columnas que yo desee con HEADERIMAGES.

Como DEMO usé el ejemplo \hmg\samples\browse_06\demo.prg

y no lo logré, lo he intentado con todas esta variaciones:
*/// RESULTADO: no muestra ningun HEADER
* HEADERIMAGES { , '01.bmp' , '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }

*/// RESULTADO: no muestra el ultimo HEADER, cuando no deberia mostrar la segunda
* HEADERIMAGES { '00.bmp' , , '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }
* HEADERIMAGES { '00.bmp' ,nil, '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }
* HEADERIMAGES { '00.bmp' ,' ', '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }
* HEADERIMAGES { '00.bmp' ,'noexiste.bmp', '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }
espero puedan ayudarme.

Un saludo, Fernando Chirico.

Re: Browse con HEADERIMAGES

Posted: Sat May 30, 2009 1:28 pm
by esgici
google wrote:I can not get in a browser can only display images in the columns that I want to HEADERIMAGES.

As I used the DEMO example \ HMG \ samples \ browse_06 \ demo.prg and we fail, I have tried all these variations:
<..>
may help.
Hola Fernando

If I understood correct your question, simply add an "empty" image to your .prg and HEADERIMAGE clause:

Code: Select all

HEADERIMAGES	{ 'empty.bmp' , '01.bmp' , '02.bmp' , '03.bmp' , '04.bmp' , '05.bmp' }
Attached an example .bmp ( used in MiniAgenda ).

Forum manager don't allow .bmp extention, so it's in .zip file.

I hope that this will help you.

Salodus

--

Esgici

Re: Browse con HEADERIMAGES

Posted: Sat May 30, 2009 6:46 pm
by fchirico
esgici wrote:
google wrote:I can not get in a browser can only display images in the columns that I want to HEADERIMAGES.

If I understood correct your question, simply add an "empty" image to your .prg and HEADERIMAGE clause:

Esgici
Estimado Esgici:

you have understood my question.
this solution the thought, but not what I want, a deity that is the problem of background colors.

Anyway thank you very much.

Saludos, Fernando Chirico.

Re: Browse con HEADERIMAGES

Posted: Sat May 30, 2009 7:42 pm
by esgici
Dear Fernando

Now you and me we have a wish : Mixed header images on browse : some columns have image, others no. Such as you have tried:

HEADERIMAGE { '"", "01.BMP", "", "", "02.BMP" ...

I hope Maestro will read our wish, confirm and apply in a day in the future.

For now, as a temporary solution, you can color the empty image by back color of your browse.

By the way, I had a similar wish : browse without headers. I guess that columns of our browse are constituted on headers, no fields clause.

Saludos cordiales

--

Esgici