Multi Commander > Beta Releases
Multi Commander v8.0
AlanJB:
Thanks Mathias. Tried that; no result at all :(
My confusion is caused by these 2 lines in your post of March 21st:
--- Quote ---<int> TabActiveTab( <int/string> side); // return tab in panel that is active
TabActiveTab( <int/string> side, int tabIdx ); // set tab in panel side as active
--- End quote ---
The 1st shows TabActiveTab( ) taking 1 argument and returning an <int>: this works as expected.
The 2nd shows TabActiveTab( ) taking 2 arguments and returning <what?>: this seems to do nothing.
For example, I woud expect TabActiveTab( 1,2 ); to set the 3rd tab in the left panel as active.
What am I missing?
Mathias (Author):
yes with only 1 parameter (side) it return what index is active
AlanJB:
Sorry to seem stupid, Mathias, but with only 1 parameter (side) it works exactly as expected, but
--- Quote ---...I would expect TabActiveTab( 1,2 ); to set the 3rd tab in the left panel as active.
--- End quote ---
does not set the 3rd tab in the left panel as active. Nothing happens at all :-\
Mathias (Author):
--- Quote from: AlanJB on March 25, 2018, 17:16:17 ---Sorry to seem stupid, Mathias, but with only 1 parameter (side) it works exactly as expected, but
--- Quote ---...I would expect TabActiveTab( 1,2 ); to set the 3rd tab in the left panel as active.
--- End quote ---
does not set the 3rd tab in the left panel as active. Nothing happens at all :-\
--- End quote ---
Strange, works for me.
Hmm Might be that it was broken before. I done some other changes around there that might have fixed it. not sure
AlanJB:
Thanks for all the replies ;)
I'll retest after the next beta release. I can use these functions for lots of UDCs!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version