Hi,
I am using the component TIWCGJQTab , and I am trying to create a New Tab dynamically depending of a menu options.
For each menu option , I want to create a New Tab , and then linked this TAB to a Frame. The Frame is created Once and then I can Jump from Tab to Tab without re loaded the frame.
On the first time , I only created new TABs dynamiccaly , as the code below:
When I open a 1st session ( in Chrome or Fiferfox), and play with the Menu item, I see my tabs created dynamically , 1, 2, 3.
Now If I open a new session (Click again on the Intraweb Application and then create a new TAB in Firefox or Chrome), and
now I can restart from scratch adding my new tabs , I can see 1,2,3.
But If I come back to the First session in Chrome, and add again, I don't see the 4th tab, but the 7th Tab.
seems that the system mix the component TIWCGJQTab between the sessions.
Please let me know if a restriction, or maybe my code is not correct.
For information:
My Servercontrol is set up asd:
Cominitialization --> ciMultiThreaded or Cnormal
doctype --> <!doctype html>
eric g
var
t:TIWCGJQTab;
begin
t:=IWCGJQTabs1.AddNewTab();
t.caption:='tab n:' + inttostr(i);
inc(i);
IWCGJQTabs1.AjaxReRender(True,False);
IWCGJQTabs1.ActiveTab:=t;
IWCGJQTabs1.Show;