Browse con HEADERIMAGES

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Browse con HEADERIMAGES

Post 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.
Saludos, Fernando Chirico.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Browse con HEADERIMAGES

Post 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
Attachments
empty.zip
Empty image
(149 Bytes) Downloaded 237 times
Viva INTERNATIONAL HMG :D
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Browse con HEADERIMAGES

Post 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.
Saludos, Fernando Chirico.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Browse con HEADERIMAGES

Post 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
Viva INTERNATIONAL HMG :D
Post Reply