InitializeComponent更改TabPage顺序而不发出警告 [英] InitializeComponent changes TabPage order without warning

查看:100
本文介绍了InitializeComponent更改TabPage顺序而不发出警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在设计视图中添加到表单中的标签页有时会在没有警告的情况下重新排序

。除了通过清除

然后在InitializeComponent之外读取这些相同的标签页来对标签顺序进行硬编码之外,还有其他方法可以防止这种重新排序吗?


史蒂夫

Tab pages, which I have added to forms in design view, are occassionally
reordered without warning. Other than hard-coding the tab order by clearing
then readding these same tab pages outside InitializeComponent, is there
another way to prevent such reodering?

Steve

推荐答案

这听起来像是设计师的问题。 (错误)。我认为你要在初始化方法调用之后自己重新排序它们,因为你指示了


http://www.syncfusion.com/FAQ/Window...93c.aspx #q959q


如果您搜索谷歌档案,您可能会找到更多相关信息。

但是,AFAIK,还没有修复适用于VS.Net 2003.


-

Tim Wilson

..Net Compact Framework MVP


" sdbranum" < SD ****** @ discussions.microsoft.com>在消息中写道

新闻:CF ********************************** @ microsof t.com ...
This sounds like the designer "issue" (bug). I think that you''re going to
have to reorder them yourself after the InitializeComponent method call, as
you have indicated.
http://www.syncfusion.com/FAQ/Window...93c.aspx#q959q

If you search the google archives you may find more information on this.
But, AFAIK, there is no fix yet that works with VS.Net 2003.

--
Tim Wilson
..Net Compact Framework MVP

"sdbranum" <sd******@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
我在设计视图中添加到表单的标签页有时会在没有警告的情况下重新排序。除了通过
清除硬盘编码顺序,然后在InitializeComponent之外读取这些相同的标签页,是否还有另一种方法可以防止这种重新排序?

Steve
Tab pages, which I have added to forms in design view, are occassionally
reordered without warning. Other than hard-coding the tab order by clearing then readding these same tab pages outside InitializeComponent, is there
another way to prevent such reodering?

Steve



这听起来像设计师的问题。 (错误)。我认为你要在初始化方法调用之后自己重新排序它们,因为你指示了


http://www.syncfusion.com/FAQ/Window...93c.aspx #q959q


如果您搜索谷歌档案,您可能会找到更多相关信息。

但是,AFAIK,还没有修复适用于VS.Net 2003.


-

Tim Wilson

..Net Compact Framework MVP


" sdbranum" < SD ****** @ discussions.microsoft.com>在消息中写道

新闻:CF ********************************** @ microsof t.com ...
This sounds like the designer "issue" (bug). I think that you''re going to
have to reorder them yourself after the InitializeComponent method call, as
you have indicated.
http://www.syncfusion.com/FAQ/Window...93c.aspx#q959q

If you search the google archives you may find more information on this.
But, AFAIK, there is no fix yet that works with VS.Net 2003.

--
Tim Wilson
..Net Compact Framework MVP

"sdbranum" <sd******@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
我在设计视图中添加到表单的标签页有时会在没有警告的情况下重新排序。除了通过
清除硬盘编码顺序,然后在InitializeComponent之外读取这些相同的标签页,是否还有另一种方法可以防止这种重新排序?

Steve
Tab pages, which I have added to forms in design view, are occassionally
reordered without warning. Other than hard-coding the tab order by clearing then readding these same tab pages outside InitializeComponent, is there
another way to prevent such reodering?

Steve



Tim,


谢谢。我检查了链接,这确实是我遇到的情况。

希望有一天MS能解决这个问题,因为我有很多表格,包括

页面,以及选项卡中的标签页和要撤消的代码,然后重做设计师应该做的一次不是优雅的。如果您碰巧知道MS已经确认问题的链接,我会很感激

,因为我可以跟踪解决方案的进度。


问候,

史蒂夫


" Tim Wilson"写道:
Tim,

Thank you. I checked the link, and that is indeed what I am experiencing.
Hopefully, MS will fix this someday, since I have a lot of forms with tab
pages, as well as tab pages within tabs, and the code to undo, then redo what
the designer is supposed to do once is less than elegant. If you happen to
know of a link where MS has acknowledged the issue, I would appreciate the
same, since I would then be able to track progress of a resolution.

Regards,
Steve

"Tim Wilson" wrote:
这听起来像设计师问题 (错误)。我认为你必须在InitializeComponent方法调用后自己重新排序,如你所指示的那样。
http://www.syncfusion.com/FAQ/Window...93c.aspx#q959q

如果您搜索谷歌档案,您可能会找到更多相关信息。
但是,AFAIK,还没有适用于VS.Net 2003的修复。

- -
Tim Wilson
..Net Compact Framework MVP

" sdbranum" < SD ****** @ discussions.microsoft.com>在消息中写道
新闻:CF ********************************** @ microsof t.com。 ..
This sounds like the designer "issue" (bug). I think that you''re going to
have to reorder them yourself after the InitializeComponent method call, as
you have indicated.
http://www.syncfusion.com/FAQ/Window...93c.aspx#q959q

If you search the google archives you may find more information on this.
But, AFAIK, there is no fix yet that works with VS.Net 2003.

--
Tim Wilson
..Net Compact Framework MVP

"sdbranum" <sd******@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
我在设计视图中添加到表单的标签页有时会在没有警告的情况下重新排序。除了通过
Tab pages, which I have added to forms in design view, are occassionally
reordered without warning. Other than hard-coding the tab order by

清除

对Tab键顺序进行硬编码,然后在InitializeComponent之外读取这些相同的标签页,还有另一种方法可以防止这种重新排序吗? />
Steve
then readding these same tab pages outside InitializeComponent, is there
another way to prevent such reodering?

Steve




这篇关于InitializeComponent更改TabPage顺序而不发出警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆