If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > [Delphi problem]Why I can't change the active page of notebook & page control...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-20-03, 05:18
king king is offline
Registered User
 
Join Date: May 2003
Posts: 20
[Delphi problem]Why I can't change the active page of notebook & page control...

I can't change the active page of notebook & page control in following case:

1) I use Delphi 5.

2) My program has two output file:
Main.exe - contains a main form in it.
AddOn.bpl - contains a TNotebook componient (has multiple pages) on a form. Also, a button is created on the form for changing page of notebook.


3) The main program "Main.exe" loads the package file "AddOn.bpl".

4) After the package is loaded, the form contains notebook in AddOn.bpl is dock to the main form in Main.exe. (by ManualDock function).

5) I click the button on the form to change notebook page, the page index could be changed to the second page, but the screen still show first page of note book.

6) I try to not use the load package method, instead of the main form directly uses the form in the package. There is no problem occurs.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On