FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 8.08 - New ACTION clause for GETs
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 11:24 AM
In FWH 8.08 an ACTION can be used with a GET, i.e.:

#include "FiveWin.ch"

function Main()

   local oWnd, cTest := "Hello world!"

   DEFINE WINDOW oWnd COLOR "N/W"

   @ 2, 2 GET cTest SIZE 100, 20 ACTION MsgInfo( "click" )

   ACTIVATE WINDOW oWnd

return nil

So there is no longer need for Class TBtnGet :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 11:24 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 11:45 AM

Is it possible to redefine the button caption or to put a bitmap on the button?

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 12:45 PM

Nice.

I like the concept. I would like to see it look just like a combobox with a theme aware button. I have tried to do this before without success.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 12:56 PM

Yes, its going to support an optional bitmap too.

And we can make it themes aware :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 01:12 PM

good mr linares!
last year I made something of it using as bmp the btnbmp class.

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 01:20 PM
Themes support:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 01:33 PM
Themes and bitmap support:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 01:36 PM

Wonderful!

EMG

Posts: 30
Joined: Fri Oct 07, 2005 06:58 AM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 03:46 PM

Great !!!

Are you also thinking to support color change when get take focus?

Regards
Gianni

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 03:57 PM

I love it!

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 04:16 PM

Looks real good.

I have a question due to my great lack of knowledge re FWH and other things of course. What is "themes support" and how does one initilaize it in a program?

Thank for this info.

Thank you

Harvey
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Resources as well ?
Posted: Thu Aug 07, 2008 04:29 PM

That looks very nice.
Does it work with resources as well ?

Regards
Uwe

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 04:53 PM

Incredible!

Linares, and the right alignment with number values? The limit of end of get at button it's ok too?

Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.08 - New ACTION clause for GETs
Posted: Thu Aug 07, 2008 04:58 PM
Harvey,

Your application uses Windows themes when you include these lines in your RC file:
#ifdef __FLAT__
  1 24 "WindowsXP.Manifest" 
#endif

You can find the file "WindowsXP.Manifest" in FWH\samples\winxp folder.

Alternatively you can also have themes support if such file is in the same folder where your EXE is. Not sure about this way, as it is a long time since we don't use it.
regards, saludos

Antonio Linares
www.fivetechsoft.com