View Single Post
  #1 (permalink)  
Old 11-05-09, 09:53
helloise helloise is offline
Registered User
 
Join Date: Oct 2009
Posts: 6
Notebook.ActivePage problem

i have the following code:
procedure TCallMain.FormShow(Sender: TObject);
var
Reg : TRegistry;
begin
if LoggingIn then begin
NoteBook2.ActivePage := 'CALL';

Reg := TRegistry.Create;
Reg.RootKey := HKEY_LOCAL_MACHINE;
if Reg.OpenKey(RegKey, True) = True then begin
try
NoteBook1.ActivePage := Reg.ReadString('page');
except
NoteBook1.ActivePage := 'CALLS';
end;
end;
Reg.CloseKey;
Reg.Free;
// NoteBook1.ActivePage := 'CALLS';
end;
and am interested inthe line:
NoteBook1.ActivePage := 'CALLS';

how do i access this page called "CALLS"??
i dont know how all of this work and must do maintenance on this app specifically that page..

can anyone help please?
Reply With Quote