CUEBANNER support in FWH 9.04

CUEBANNER support in FWH 9.04

Postby Antonio Linares » Thu Apr 09, 2009 2: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"

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: CUEBANNER support in FWH 9.04

Postby driessen » Sat Apr 11, 2009 9: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: Select all  Expand view
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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: CUEBANNER support in FWH 9.04

Postby mmercado » Sat Apr 11, 2009 9:53 pm

driessen wrote:My line looks like this :
Code: Select all  Expand view
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: Select all  Expand view
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 :D

Regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: CUEBANNER support in FWH 9.04

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: CUEBANNER support in FWH 9.04

Postby Antonio Linares » Sun Apr 12, 2009 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 70 guests

cron