BTNBMP - oBtn:l2007=.t.

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

BTNBMP - oBtn:l2007=.t.

Post by Otto »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Post Reply