Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Hints Components
Guys, all delphi components have a hint,
but i need show different hint depending of the position of the mouse
over a TPaintBox.

I think to remember of a simple components that make this, do you know
where can i found it ???

Thanks



Report this thread to moderator Post Follow-up to this message
Old Post
MarcelloIozzia
05-28-05 08:58 PM


Re: Hints Components
MarcelloIozzia wrote:
> Guys, all delphi components have a hint,
>    but i need show different hint depending of the position of the mouse
> over a TPaintBox.
>
>   I think to remember of a simple components that make this, do you know
> where can i found it ???
>
> Thanks
>
>
ThintWindow


Report this thread to moderator Post Follow-up to this message
Old Post
Jamie
05-28-05 08:58 PM


Re: Hints Components
MarcelloIozzia wrote:
> Guys, all delphi components have a hint,
>    but i need show different hint depending of the position of the mouse
> over a TPaintBox.
>
>   I think to remember of a simple components that make this, do you know
> where can i found it ???
>
> Thanks
>
>

One way I tackled a similar problem in the past (in an app that used a
'skin' was to have one image showing (the skin, as it were) and another
hidden image that acted as a colour map (where each zone of the skinned
area was coloured a different colour).

When a user clicked on the skin, I grabbed the x,y coordinate that they
had clicked at, then checked the colour in the hidden image at the same
x,y location to work out which zone they had clicked in.

It worked really nice - but requires more work if you need parts of your
interface to animate.

Hope this provides an alternative to using a component - it's more
rewarding when you create something by yourself, without resorting to
ready built components!

All the best,


KultiVator UK

Report this thread to moderator Post Follow-up to this message
Old Post
Jon Souter
08-07-05 09:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Delphi archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:40 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.