Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageMarcelloIozzia 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
Post Follow-up to this messageMarcelloIozzia 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
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.