MSGBAR

MSGBAR

Postby Silvio » Tue Jan 09, 2007 9:46 pm

it possible create it ?
Image



I try with define status ... but I can use bitmaps with it ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Jan 09, 2007 10:34 pm

Silvio,

statusbar bitmaps support is not implemented yet
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Wed Jan 10, 2007 7:40 am

ok
but I have a tmsgitem and msgbar modified and they not run ok ...
if you see the picture perhaps you can see what I want ....
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Wed Jan 10, 2007 8:19 am

Silvio,

You may provide us a self contained sample to test
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Wed Jan 10, 2007 8:27 am

ok
if you download fsdi2006 class from alanit you can see these classes ( tmsgitem and msgbar classes )
the url is : ...http://www.avemundi.com/archivos/fsdi32x3.zip
when you resize the window main it show graphic error on xp
or it show a msgbar trasparent
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Wed Jan 10, 2007 9:24 am

Silvio,

Have you asked Jose Luis from Alanit ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Wed Jan 10, 2007 9:39 am

Dear Antonio,

No,

but this morning i have correct the error .....

I modify your msgitem and insert WndBoxRaised instead of WndBoxin function..perhaps the command NOINSET not run ok

Now run ok !!!!!!!!!!!!!!!!!!!!!!!

Can I insert a bitmap on : oMsgbar:dateon() ?

Can I fill with blue color tabs control ?

thanks
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Wed Jan 10, 2007 12:16 pm

Silvio,

> Can I insert a bitmap on : oMsgbar:dateon() ?

It should work fine

> Can I fill with blue color tabs control ?

Tabs control is a FW own class, not a system control, so it can be fully modified including the colors
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby José Luis Sánchez » Thu Jan 11, 2007 9:20 pm

Silvio:
I've sent you my classes by mail. The only modification is on the method paint of the tmsegitem class:

Code: Select all  Expand view
   DrawMsgItem( hDC, ::cMsg,;
                { 5, nLeft + nBmpWidth - 4, ::oMsgBar:nHeight-6, nLeft + ( ::nWidth - 7 ) },;
                If( ::lActive, ::nClrText, ::nClrDisabled ),;
                ::nClrPane, ::oFont:hFont )
   //WndBoxIn( hDC, 0, nLeft - 9, ::oMsgBar:nHeight, nLeft - 8 )
   //WndBoxRaised( hDC, 0, nLeft - 8, ::oMsgBar:nHeight, nLeft + ::nWidth - 5 )
   //WndBoxIn( hDC, 0, nLeft - 9, ::oMsgBar:nHeight, nLeft - 8 )
   WndBoxIn( hDC, 0, nLeft - 8, ::oMsgBar:nHeight - 1, nLeft - 7 )


Regards,
User avatar
José Luis Sánchez
 
Posts: 556
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España

Postby Silvio » Thu Jan 11, 2007 11:36 pm

thanks Josè
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Maurizio and 87 guests