 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sai Guest
|
Posted: Thu Oct 09, 2003 6:36 am Post subject: How to give the selection effect for a component in runtime |
|
|
Hi,
How can I give the same selection effect for a component in run time as we
get it in design time.
I mean the small black rects at the corners. I managed to get it by using
the fillrect on both the parent canvas and also on the component canvas but
still the effect is not exactly the same . so what is the proper way.
Thanks in advance
Sai
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Thu Oct 09, 2003 8:11 pm Post subject: Re: How to give the selection effect for a component in run |
|
|
"Sai" <p_g_s_k (AT) yahoo (DOT) co.in> wrote in message
[email]3f8501df (AT) newsgroups (DOT) borland.com[/email]...
| Quote: | How can I give the same selection effect for a component in run time as we
get it in design time.
I mean the small black rects at the corners. I managed to get it by using
the fillrect on both the parent canvas and also on the component canvas
but still the effect is not exactly the same . so what is the proper way.
|
What effect are you looking for? Just a visual effect, or do you want the
cursor changes as well?
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
| Back to top |
|
 |
Sai Guest
|
Posted: Fri Oct 10, 2003 4:55 am Post subject: Re: How to give the selection effect for a component in run |
|
|
Initially the visual effect only. I think the cursor effect I can implement
on mouse move...
Thanks
Sai
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote
| Quote: | "Sai" <p_g_s_k (AT) yahoo (DOT) co.in> wrote in message
[email]3f8501df (AT) newsgroups (DOT) borland.com[/email]...
How can I give the same selection effect for a component in run time as
we
get it in design time.
I mean the small black rects at the corners. I managed to get it by
using
the fillrect on both the parent canvas and also on the component canvas
but still the effect is not exactly the same . so what is the proper
way.
What effect are you looking for? Just a visual effect, or do you want the
cursor changes as well?
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
|
| Back to top |
|
 |
Asko Telinen Guest
|
Posted: Wed Oct 22, 2003 11:24 am Post subject: Re: How to give the selection effect for a component in run |
|
|
Look at DrawFocusrect method (Canvas or API)....
--
-------------------------------------------
Asko Telinen
department of information technology
Jyväskylä University
[email]asko.telinen (AT) kanetti (DOT) com[/email]
-------------------------------------------
"Sai" <p_g_s_k (AT) yahoo (DOT) co.in> wrote
| Quote: | Initially the visual effect only. I think the cursor effect I can
implement
on mouse move...
Thanks
Sai
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote in message
news:3f85c0f7 (AT) newsgroups (DOT) borland.com...
"Sai" <p_g_s_k (AT) yahoo (DOT) co.in> wrote in message
[email]3f8501df (AT) newsgroups (DOT) borland.com[/email]...
How can I give the same selection effect for a component in run time
as
we
get it in design time.
I mean the small black rects at the corners. I managed to get it by
using
the fillrect on both the parent canvas and also on the component
canvas
but still the effect is not exactly the same . so what is the proper
way.
What effect are you looking for? Just a visual effect, or do you want
the
cursor changes as well?
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|