Tooltip request

Tooltip request

Postby TimStone » Wed Nov 14, 2007 4: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby nageswaragunupudi » Wed Nov 14, 2007 5:04 pm

I too support this proposal
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Wed Nov 14, 2007 6:51 pm

Tim, NageswaraRao,

Already implemented for FWH 7.12 :-)

DATA lBalloon

Thanks,
regards, saludos

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

Balloon

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

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

Balloon

Postby TimStone » Thu Nov 15, 2007 4: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby nageswaragunupudi » Thu Nov 15, 2007 5:28 am

I use tooltips for many controls including Gets
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Thu Nov 15, 2007 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Thu Nov 15, 2007 8: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
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Global

Postby TimStone » Thu Nov 15, 2007 7: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Fri Nov 16, 2007 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Fri Nov 16, 2007 3: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
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

With Gets ?

Postby TimStone » Fri Nov 16, 2007 4: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Fri Nov 16, 2007 5:07 pm

Tim,

oGet:cTooltip = "Text"
regards, saludos

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

Get

Postby TimStone » Fri Nov 16, 2007 6: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], MMK and 44 guests