FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CUEBANNER support in FWH 9.04
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CUEBANNER support in FWH 9.04
Posted: Thu Apr 09, 2009 02:21 PM
FWH 9.04 supports CUEBANNER texts in GETs:

Sets the textual cue, or tip, that is displayed by the edit control to prompt the user for information.
When the user clicks the text, the text goes away and the user can type.
You cannot set a cue banner on a multiline edit control or on a rich edit control.
Themes support must be activated in the application. It is a Windows API requirement

@ ..., ... GET ... CUEBANNER "write a caption"

or

REDEFINE GET ... CUEBANNER "write a caption"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: CUEBANNER support in FWH 9.04
Posted: Sat Apr 11, 2009 09:37 PM
Antonio,

I tried out this new feature.

But while rebuilding my application, I got an syntax error on this line.

My line looks like this :
Code (fw): Select all Collapse
REDEFINE GET oGET[01] VAR cPNAAM ID 101 OF ParDlg PICTURE REPLICATE(IF(PAR->HLEtNAAM,"!","X"),100) CUEBANNER "Name" UPDATE

What's wrong ?

Thanks a lot in advance.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: CUEBANNER support in FWH 9.04
Posted: Sat Apr 11, 2009 09:53 PM
driessen wrote:My line looks like this :
Code (fw): Select all Collapse
REDEFINE GET oGET[01] VAR cPNAAM ID 101 OF ParDlg PICTURE REPLICATE(IF(PAR->HLEtNAAM,"!","X"),100) CUEBANNER "Name" UPDATE
Hi Michel:

Try this way:
Code (fw): Select all Collapse
REDEFINE GET oGET[01] VAR cPNAAM ID 101 OF ParDlg PICTURE REPLICATE(IF(PAR->HLEtNAAM,"!","X"),100) CUETEXT "Name" UPDATE

It surely was an Antonio's last minute change :-)

Regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: CUEBANNER support in FWH 9.04
Posted: Sat Apr 11, 2009 11:55 PM

Manuel,

Thank you very much for your help.

CUETEXT works fine now.

Have a nice Eastern.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: CUEBANNER support in FWH 9.04
Posted: Sun Apr 12, 2009 08:29 AM

Manuel, Michel,

yes, it was a last minute change error

We have changed FiveWin.ch to use CUEBANNER instead of CUETEXT

Or should we support both ways ? :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion