Tooltip request

User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Tooltip request

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

I too support this proposal
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Tim, NageswaraRao,

Already implemented for FWH 7.12 :-)

DATA lBalloon

Thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Balloon

Post by TimStone »

Thanks ...

I much prefer leaving the lib intact.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Balloon

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

I use tooltips for many controls including Gets
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Global

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

With Gets ?

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Tim,

oGet:cTooltip = "Text"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Get

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Post Reply