FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour BTNBMP, image moved up
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
BTNBMP, image moved up
Posted: Fri Feb 27, 2009 02:56 PM

Dear friends,

as subject on Vista & XP with FWH 8.11.

Is possible to solve?

Ciao, best regards,

Ugo
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Fri Feb 27, 2009 10:41 PM
to more explain:

Ciao, best regards,

Ugo
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Fri Feb 27, 2009 11:10 PM
For the solution add CENTER

please see:

viewtopic.php?f=6&t=14119&p=72747&hilit=oleuninitialize#p72698

Code (fw): Select all Collapse
REDEFINE BTNBMP oBtn1 ID 120 OF oDlg CENTER ;
RESOURCE "B16_PAGEUP" NOBORDER;
TOOLTIP "Page Up" ;
ACTION (oBrw:PageUp(), ;
oBrw:SetFocus(), oBrw:Refresh())


Many thanks to George.
Ciao, best regards,

Ugo
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 07:14 AM

Ugo,

That bug was solved in 9.01 and it was discussed in these forums.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 07:56 AM
Antonio Linares wrote:That bug was solved in 9.01 and it was discussed in these forums.


Dear Antonio,
i don't found when i searched it! :-)

I have got another bug with tbtnget and the right image:

Is solved this?
Ciao, best regards,

Ugo
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 08:09 AM

Ugo,

FWH supports this syntax now:

@ ..., .. GET ... ACTION ... BITMAP ...

There is no need to keep using TBtnGet.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 08:18 AM
Ugo,

Please build FWH\samples\Test4.prg.

Here it looks fine (using 9.02):
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 08:45 AM

Antonio,
very beautifull!

Ciao, best regards,

Ugo
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 08:52 AM
Antonio Linares wrote:FWH supports this syntax now:

@ ..., .. GET ... ACTION ... BITMAP ...

There is no need to keep using TBtnGet.

Antonio,
Is supported on FWH 8.11?
or in 8.11 there is a workaround?
Ciao, best regards,

Ugo
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 09:05 AM

Ugo,

Yes, it is available in 8.11 :-)

Please review FWH\samples\GetBtn.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: BTNBMP, image moved up
Posted: Sat Feb 28, 2009 09:16 AM

Wow,
thank you.

Ciao, best regards,

Ugo

Continue the discussion