Re: IDE Issue with Tab Captions
- Posted by Judith Evans <camping at txcyber.com> Aug 27, 2004
- 427 views
cklester wrote: > > I'm trying to give a tab a caption the same as one that already exists, > but the IDE is complaining about duplicate NAMES. > > Here's a .prj sample... Just try to change the caption of TabItem5 to > the same as the tabA tab. > > --- begin sample .prj file > #Version 0.18.20 > #Counter: 5 > #WinCounter: 1 > #Window 1 > #TabInfo > TabText: Layer 0 > TabRenamed: 0 > TabNumber: 0 > TabsetLayer: 0 > #Control: Window1 > X : 0 > Y : 0 > CX : 272 > CY : 273 > ControlLayer: 0 > Title : Window1 > Class : Window > Enabled : 0 > Checked : 0 > Parent : > PClass : > SeqParentName : > SeqParentClass : > SeqChildName : > Visible : 1 > BkColor : 0 > EnableC : 1 > Style : 0 > TypStyle: > ExStyle : 0 > Local : 1 > > #Control: TabControl2 > AWindow : 5 > X : 4 > Y : 4 > CX : 248 > CY : 224 > ControlLayer: 0 > Title : TabControl2 > SubClass: TabControl > Class : TabControl > Enabled : 0 > Checked : 0 > Parent : > PClass : > SeqParentName : > SeqParentClass : > SeqChildName : TabItem1 > Active : 1 > Visible : 1 > EnableC : 1 > Style : > TypStyle: > ExStyle : 0 > TabOrder : 1 > Local : 1 > > #Control: TabItem1 > AWindow : 5 > X : 4 > Y : 4 > CX : 248 > CY : 224 > ControlLayer: 0 > Title : tabA > SubClass: TabItem > Class : TabItem > Enabled : 0 > Checked : 0 > Parent : TabControl2 > PClass : TabControl > SeqParentName : TabControl2 > SeqParentClass : TabControl > SeqChildName : TabControl4 > Active : 1 > Visible : 1 > EnableC : 1 > Style : > TypStyle: > ExStyle : 0 > TabOrder : 2 > Local : 1 > > #Control: TabControl4 > AWindow : 5 > X : 12 > Y : 60 > CX : 224 > CY : 144 > ControlLayer: 0 > Title : TabControl4 <snip> This is a fundamental flaw in IDE. The TabItem combo in IDE's toolbar uses Title instead of Name. I did not think anyone would use duplicate Title and I used Title so the programmer could easily match up the tab he is viewing to the entry in the combo. However most everywhere else I use Name. I can make this change. Right now I am in the middle of a huge move to another state in the USA and will not be able to address IDE issues (meaning another release) until the move is completed which may be several weeks away. ~judith