FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Btnbmp in GET ACTION show border on MouseOver
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Btnbmp in GET ACTION show border on MouseOver
Posted: Tue Dec 13, 2016 06:25 AM
Dear Antonio,

I use 16.11 build 1 and it shows border of Btnbmp (GET ACTION clause) when MouseOver as picture. It doesn't show in previous version.
posted image
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Tue Dec 13, 2016 11:19 AM
Dutch,

This example seems to work fine:
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg, cTest := Space( 10 )

   DEFINE DIALOG oDlg

   @ 2, 2 GET cTest ACTION MsgInfo( "ok" ) COLOR 0, CLR_WHITE

   ACTIVATE DIALOG oDlg CENTERED

return nil


What manifest file are you using ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Thu Dec 15, 2016 07:40 AM
Dear Antonio,
Antonio Linares wrote:What manifest file are you using ?

This is manifest that I use.
Code (fw): Select all Collapse
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="EASYFO Hotel Software.EASYFO.32bits"
    type="win32"
/>
<description>EASYFO Front Office System.</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Thu Dec 15, 2016 07:51 AM

Dutch,

the manifest file seems fine

Have you tested the example that I posted ? Does it behave fine ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Thu Dec 15, 2016 10:22 AM
Dear Antonio,

I need the bitmap button with transparent and noborder while MouseOver. In older version is working fine.
image hosting site
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg, cTest := Space( 10 )

   DEFINE DIALOG oDlg

   @ 2, 2 GET cTest ACTION MsgInfo( "ok" ) COLOR 0, CLR_WHITE ;
      BITMAP "bdate"
            

   ACTIVATE DIALOG oDlg CENTERED

return nil

Code (fw): Select all Collapse
bdate BITMAP "../bitmaps/date.bmp"
1 24 "..\WindowsXP.Manifest"
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Thu Dec 15, 2016 11:04 AM

Dutch,

Could you please post the same screenshots built with the previous version that you are using ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Fri Dec 16, 2016 01:13 AM
Code (fw): Select all Collapse
   DEFINE DIALOG oDlg

   @ 2, 2 GET oGet VAR cTest ACTION MsgInfo( "ok" ) COLOR 0, CLR_WHITE ;
      BITMAP "bdate"

   oGet:lBtnTransparent := .t.

   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT ( oGet:oBtn:lBoxSelect := .f., ;
                oGet:oBtn:lFlatStyle := .t. )
Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Fri Dec 16, 2016 03:22 AM
Antonio Linares wrote:Dutch,

Could you please post the same screenshots built with the previous version that you are using ?

Here it is. FWH13.12
image hosting over 10mb
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Fri Dec 16, 2016 09:14 AM

Dutch,

thanks

Rao has shown the right way to do it now

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Btnbmp in GET ACTION show border on MouseOver
Posted: Sun Dec 18, 2016 12:14 PM

Dear Antonio & Rao,

I've fixed it already as Mr.Rao recommendation.

Thanks a lot.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion