Solved

How to Make A outlook style Scroll box?

Posted on 2000-03-06
4
490 Views
Last Modified: 2008-01-09
A scroll box with pages in it ,how can
i make this?

{
I had found a VCL :XAZone can do this.
but How can i add and delete a page
in it at runtime??

who can give me a Sample of add and
delete pages in Xazone at runtime can also get the points. :)

XAZone download url
http://vcl.vclxx.com/DELPHI/D32FREE/XAZONE.ZIP
}

Thanks for help.
:)
0
Comment
Question by:keron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2590085
Listening
0
 

Expert Comment

by:zb_russia
ID: 2590308
[phlegmatically] Is higher to you already have answered (rwilson) - use the list (or generate from TList) plants, necessary to you, - TXAZoneControl, e.t.c.

I in this situation have done without by an array TActions, to which referred for want of pressing on "outlook toolbar".
0
 
LVL 17

Accepted Solution

by:
inthe earned 200 total points
ID: 2590487
hi,
here an exampe of using xazone component .

to add a zone:

procedure TForm1.Button1Click(Sender: TObject);
var
zone : TXAZoneArea;
begin
zone := TXAZoneArea.Create(Nil);
zone.Parent := XAZoneControl1;
zone.Color := clblue;
zone.Caption := 'The New Zone';
zone.Enabled := true;
zone.Active := true;
end;

to delete the zone:

procedure TForm1.Button2Click(Sender: TObject);
var
i : integer;
begin
with XAZoneControl1 do begin
for i := Controlcount -1  downto 0 do
begin
if( Controls[ i ] is TXAZoneArea )then
begin
if (Controls[ i ] as TXAZoneArea).Caption = 'The New Zone' then
// or
// if (Controls[ i ] as TXAZoneArea).Name = 'zone' then ...
begin
(Controls[i] as  TXAZoneArea).Active := false;
(Controls[i] as  TXAZoneArea).Enabled := False;
(Controls[i] as  TXAZoneArea).Hide;
(Controls[i] as  TXAZoneArea).Free;
end;
end;
end;
end;


Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
ID: 2590491
opps forgot to give zone a name after i added it:

should be:

zone := TXAZoneArea.Create(Nil);
zone.Name := 'zone'; <-- forgot this ;-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month6 days, 19 hours left to enroll

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question