Making Multiple Tabs
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/04/2012 at 11:49, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;---------
Can someone please show me a very basic example how to create multiple tabs for tag plugins?
I have several questions about it:- Do I have to use GetDDescription() to make it work?
- Can I use only the .res file formatting alone, and nothing else to pull this off?
- Do I have to put each tab items in their own .h, .res and .str files?I just want to be able to group my GUI's into their own tabs. Nothing fancy or animated.
I can do this easily with UserData by adding new groups. But I can't figure out how to do the same thing with plugins.-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/04/2012 at 12:21, xxxxxxxx wrote:
Hi Scott,
You can achieve this by using the .res, .h, and .str files.
RES file.
GROUP ID_MY_TAB { ..Description elements. } GROUP ID_MY_TAB2 { ..Description elements. }
.H file
ID_MY_TAB = 1000; ID_MY_TAB2 = 1002; etc...
.str FILE
ID_MY_TAB = "Tab1"; ID_MY_TAB2 = "Tab2";
You do not have to use GetDDescription for this. Although you can achieve that there if you want tabs to appear dynamically.
You can do this all in the same .h .res .str file.
Hope that helps.
~Shawn
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/04/2012 at 12:22, xxxxxxxx wrote:
As Shawn says!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/04/2012 at 13:07, xxxxxxxx wrote:
Thanks.
-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2012 at 08:14, xxxxxxxx wrote:
Follow up question.
I have everything set up and working. And I've played around with hiding the the Tabs using the GetDDenabling() method. And all is working fine.
But one thing I can't find in the SDK is how to make all the tabs(groups) selected by default when the tag is first added to the object.How do I make a tab/s selected by default?
-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2012 at 08:40, xxxxxxxx wrote:
GROUP ID_GROUP_NAME
{
DEAULT 1;}
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2012 at 09:02, xxxxxxxx wrote:
Thanks again.
-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2012 at 09:26, xxxxxxxx wrote:
No problem.
DEFAULT 0; Would be inactive.. although this is the default so it's not really necessary.
~Shawn