BTNBMP - oBtn:l2007=.t.

BTNBMP - oBtn:l2007=.t.

Postby Otto » Sun Oct 14, 2007 6:08 pm

Hello Antonio,
is there oBtn:l2007=.t.
available for BtnBmp?

@ x,y BTNBMP oBtn FILENAME ".\bitmaps2\test.bmp" SIZE 60, 60 PROMPT "TimeLox" ACTION msginfo("test") OF oDlg
oBtn:l2007 = .T.

Regards,
Otto
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Sun Oct 14, 2007 6:16 pm

Otto,

No, Class TBtnBmp does not provide a DATA l2007. A TBtnBmp object checks if its container is a buttonbar and if it has its l2007 as .T.

You could easily modify class TBtnBmp and add that DATA and change its painting behavior if you need it
regards, saludos

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

Postby Otto » Sun Oct 14, 2007 6:24 pm

Hello Antonio,

To get the painting I placed 2 buttonBars (TOP and BOTTOM) on 1 Dialog.
It seems that these to BtnBars are working correctly.

Is it save to use 2 or more BtnBars on one Dialog?

Regards,
Otto


Image
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Sun Oct 14, 2007 6:32 pm

Otto,

> Is it save to use 2 or more BtnBars on one Dialog?

Yes, it should be ok :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 79 guests