如何设置文本框自动换行?
我将一篇WORD文档复制进文本框,没有自动换行,每行都显示不全,
又不显示水平滚动条,反而在右侧出现重影,
请问应当如何设置,使其自动换行呢?
======================
似乎也有自动换行,但现实不全,还有重影,这个是正常的吗?我的是14版
回复 1# xiaoyaox044 的帖子
文本框 TextFrame 默认是有换行功能,能否将你遇到的情况截个图发过来看一下。 截图如下:截图
截图如下:回复 4# xiaoyaox044 的帖子
你好,我在TextControl form WinForms 17.0 中没能再现你的问题,能否做一个Demo给我们,以便于协助调试该问题。
谢谢! 我搞了个exe文件,打包成rar,怎么传不上去?
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f306054b\3e30c002\App_Web_jlxjgvja.0.cs Line: 0
Stack Trace:
Discuz.Forum.ForumUtils.SaveRequestFiles(Int32 forumid, Int32 MaxAllowFileCount, Int32 MaxSizePerDay, Int32 MaxFileSize, Int32 TodayUploadedSize, String AllowFileType, Int32 watermarkstatus, GeneralConfigInfo config, String filekey) +1089
Discuz.Web.editpost.SetAttachmentInfo(Int32 maxTodaySize) +3416
Discuz.Web.editpost.ShowPage() +4343
Discuz.Forum.PageBase..ctor() +3353
Discuz.Web.editpost..ctor() +233
ASP.aspx_8_editpost_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f306054b\3e30c002\App_Web_jlxjgvja.0.cs:0
__ASP.FastObjectFactory_app_web_jlxjgvja.Create_ASP_aspx_8_editpost_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f306054b\3e30c002\App_Web_jlxjgvja.16.cs:0
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618