FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour BTNBMP - oBtn:l2007=.t.
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
BTNBMP - oBtn:l2007=.t.
Posted: Sun Oct 14, 2007 06: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
BTNBMP - oBtn:l2007=.t.
Posted: Sun Oct 14, 2007 06: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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
BTNBMP - oBtn:l2007=.t.
Posted: Sun Oct 14, 2007 06: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


Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
BTNBMP - oBtn:l2007=.t.
Posted: Sun Oct 14, 2007 06: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

Continue the discussion