BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to leave speedbutton clicked?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Eugene
Guest





PostPosted: Wed Apr 21, 2004 6:13 pm    Post subject: How to leave speedbutton clicked? Reply with quote




Hi,

I'm using speed buttons and when i click to speedbutton, i want to leave speedbutton pressed in till second click(or another event).How to leave speedbutton clicked?

Eugene
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Apr 21, 2004 6:30 pm    Post subject: Re: How to leave speedbutton clicked? Reply with quote




"Eugene" <Eugene (AT) dmx (DOT) de> wrote


Quote:
I'm using speed buttons and when i click to speedbutton, i
want to leave speedbutton pressed in till second click(or
another event).How to leave speedbutton clicked?

Set the GroupIndex property to a value greater than zero and make sure the
AllowAllUp property is set to true.


Gambit



Back to top
Eugene
Guest





PostPosted: Wed Apr 21, 2004 8:03 pm    Post subject: Re: How to leave speedbutton clicked? Reply with quote




Hi,

Thanks.It works.I placed a SpeedButton and BitBtn to a form
and i set up the properties of speedbutton.When i click to
SpeedButton it is pressed-in it's ok.I wrote to BitBtn
OnClick, zero to GroupIndex of SpeedButton and AllowAllUp =
false but when i click to BitBtn, SpeedButton does not change
its position.So how can i normalize speedbutton now Smile with a
procedure?
Thanks in advance

Eugene
Back to top
george
Guest





PostPosted: Wed Apr 21, 2004 8:28 pm    Post subject: Re: How to leave speedbutton clicked? Reply with quote


"Eugene" <Eugene (AT) dmx (DOT) de> wrote:
Quote:

Hi,

Thanks.It works.I placed a SpeedButton and BitBtn to a form
and i set up the properties of speedbutton.When i click to
SpeedButton it is pressed-in it's ok.I wrote to BitBtn
OnClick, zero to GroupIndex of SpeedButton and AllowAllUp =
false but when i click to BitBtn, SpeedButton does not change
its position.So how can i normalize speedbutton now Smile with a
procedure?
Thanks in advance

Eugene

Try
SpeedButton->Down=false;


george

Back to top
Eugene
Guest





PostPosted: Wed Apr 21, 2004 9:07 pm    Post subject: Re: How to leave speedbutton clicked? Reply with quote


Ok, i missed Down property.Thank you, i solved all problems :)

Eugene
Back to top
Pete Fraser
Guest





PostPosted: Thu Apr 22, 2004 8:22 am    Post subject: Re: How to leave speedbutton clicked? Reply with quote

As an aside, for anyone working with components, it's worth selecting the
component on the BCB toolbar and pressing F1 to get the help on that
component. The click on the list of Properties and go through each property
finding out what they do.
Create some dummy forms if you really want to learn more.
This is a very good way of finding out what you can do with different
components.
Most of Borland's components are actually quite well featured and the help
isn't all that bad.

Perhaps someone should write a BDN article on the 'hidden' features of
components!

Rgds Pete

"Eugene" <Eugene (AT) dmx (DOT) de> wrote

Quote:

Ok, i missed Down property.Thank you, i solved all problems :)

Eugene



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.