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 

DevExpress: TcxSplitter State

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Jun 25, 2006 8:11 am    Post subject: DevExpress: TcxSplitter State Reply with quote



Dear Sir/Madam,

I'm using the DevExpress components version 5. I've the following
problem found for TcxSplitter;

1) I've dropped a TPanel (Panel1) on the Form, set the TPanel.Align =
alLeft, set the TPanel.Width = 145.
2) Then I've dropped a TcxSplitter on the Form, set the
TcxSplitter.AlignSplitter = salLeft; and set the TcxSplitter.Control =
Panel1. Set the TcxSplitter.HotZone to MediaPlayer9;
3) Then I write some codes in the TcxSplitter.OnMove event like the
following:

procedure TForm1.cxSplitter1Moved(Sender: TObject);
begin
if (Sender as TcxSplitter).State = ssOpened then
Self.Caption := 'splitter is open.'
else
Self.Caption := 'splitter is close.';
end;

4) Compile and run; first I click on the TcxSplitter, 'splitter is
close' was display on the Form Caption; then when I clicked and moved
the TcxSplitter to the right, the TPanel was show, but I've found that
the Form.Caption remained 'splitter is close.' ! I've traced the
TcxSplitter.State in the OnMove event, I've found that it returns
'ssClosed', suppose need to return 'ssOpend'.

Can anyone plz give me some advices here ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) 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.