jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Tue Feb 20, 2007 11:41 pm Post subject: DFL dfl.tabcontrol.TabControl and Entice |
|
|
Greetings.
So, I created a very complicated tool, which I am still adding stuff to. I want to open a new tab, but I am having problems understanding Entince entries and your entries on the examples. Here is what Entice creates:
Code: | //~DFL dfl.tabcontrol.TabControl=Util
Util = new TabPage("Tab 1");
Util.name = "Util";
Util.dock = dfl.control.DockStyle.TOP;
Util.tag = new dfl.base.StringObject("Utilities");
Util.appearance = dfl.tabcontrol.TabAppearance.BUTTONS;
Util.bounds = dfl.base.Rect(0, 250, 942, 300);
Util.parent = this;
//~Entice Designer 0.8.1pre3 code ends here.
|
When I compile this code, I get,
Code: | OpenJobs.d(750): Error: cannot implicitly convert expression (new TabPage("Tab 1")) of type dfl.tabcontrol.TabPage to dfl.tabcontrol.TabControl |
If I take that line,
Code: | Util = new TabPage("Tab 1"); |
the program compiles, but I get an "Access Violation" error when I run it. The question is, how do I get to show the tab?
thanks,
jic |
|