FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Tooltip request
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Tooltip request
Posted: Wed Nov 14, 2007 04:57 PM

Antonio,

To use balloon tool tips, with each release we have to modify windows.prg and link it into our application.

Would it be possible to set this as an option, ie. a data element ( logical ) within the class code ?

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Tooltip request
Posted: Wed Nov 14, 2007 05:04 PM

I too support this proposal

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Tooltip request
Posted: Wed Nov 14, 2007 06:51 PM

Tim, NageswaraRao,

Already implemented for FWH 7.12 :-)

DATA lBalloon

Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Balloon
Posted: Wed Nov 14, 2007 10:17 PM

Thanks ...

I much prefer leaving the lib intact.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Tooltip request
Posted: Wed Nov 14, 2007 10:35 PM

Can a global setting be provided ?

Otherwise we may have to keep writing o:lBallon := .t. for each and every instance of control and other derived class from windows. We may forget at some places and the user interface will not be consistent.

Regards



G. N. Rao.

Hyderabad, India
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Balloon
Posted: Thu Nov 15, 2007 04:33 AM

Just set a template pattern for button bars that includes that data item. Its no different then setting up a browse or other "large" control.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Tooltip request
Posted: Thu Nov 15, 2007 05:28 AM

I use tooltips for many controls including Gets

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Tooltip request
Posted: Thu Nov 15, 2007 07:19 AM

If we set it as a global option, then the entire application will use only one kind of tooltips, unless its :lBalloon is changed. Is that fine ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Tooltip request
Posted: Thu Nov 15, 2007 08:43 AM

I think yes. Because for each application we need to provide one consistent interface. We can purposefully override in the code at specific places if that is what is required in the context.

I suggest global setting for ballon tips and office2007 style both, which will be the default throughout the application with facility to optionaly override in specific cases

Regards



G. N. Rao.

Hyderabad, India
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Global
Posted: Thu Nov 15, 2007 07:00 PM

Since I would only use the newer balloon style universally, its OK with me, but adding a line of code for a button bar isn't that hard. Of course, tooltips with gets would add a lot if each one was set individually.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Tooltip request
Posted: Fri Nov 16, 2007 08:59 AM

A new function SetBalloon( lOnOff ) has been added.

Balloon shape is not used by default. To show tooltips as balloon:

SetBalloon( .T. )

If you want a specific control to show its tooltip in a different way, just do:

oControl:lBalloon = .F.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Tooltip request
Posted: Fri Nov 16, 2007 03:19 PM

This is very convinient for us to use

Similarly can we have a switch for Office2007 look also?

While converting or upgrading a large application it is possible that we may leave a few popup menus or button or msg bars. ( happened to me ). Global switch is much better to convert a whole application's interface look uniformly

This applies even for any such future major gui enhancements

Regards



G. N. Rao.

Hyderabad, India
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
With Gets ?
Posted: Fri Nov 16, 2007 04:44 PM

A post indicated tooltips are used with "everything" including Get controls .

Just curious ... but I don't see Tooltips implemented in Gets ? How's that done ?

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Tooltip request
Posted: Fri Nov 16, 2007 05:07 PM

Tim,

oGet:cTooltip = "Text"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Get
Posted: Fri Nov 16, 2007 06:48 PM

OK ... nice to know. My GET's are REDEFINED from a resource using a command line so I'll have to consider the benefit of recoding a bit.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit