|
|
pinEdit
Started by Alexander at 05-31-2010 3:03 . Topic has 18 replies.
 
 
|
|
Sort Posts:
|
|
|
|
05-31-2010, 3:03
|
Alexander
Joined on 05-26-2010
Posts 10
|
|
|
Yes .. It's in enToolbarConfiguration.External,
The code below is the autogenerate by VS.
this.Editor = new Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl(); // // Editor // this.Editor.AutoFocus = false; this.Editor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.Editor.BaseReferenceImage = "editor\\"; this.Editor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Editor.ConfigToolbar = resources.GetString("Editor.ConfigToolbar"); this.Editor.CustomToolbarCode = ""; this.Editor.DebugMode = true; this.Editor.Design = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enStyle.Style1; this.Editor.DictionaryPath = "editor\\dictionaries\\test.dict"; this.Editor.Dock = System.Windows.Forms.DockStyle.Fill; this.Editor.DocumentView = false; this.Editor.DocumentWidth = "794"; this.Editor.EditorDirectory = ""; this.Editor.FontSizeType = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enFontSizeType.pt; this.Editor.ForeColor = System.Drawing.SystemColors.ControlText; this.Editor.FormatMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enFormatMode.Classic; this.Editor.HierarchyBar = false; this.Editor.HtmlMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enHtmlMode.All; this.Editor.Language = "EN"; this.Editor.Location = new System.Drawing.Point(0, 0); this.Editor.Menu = false; this.Editor.Mode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enMode.Edit; this.Editor.ModeToolbar = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enToolbarConfiguration.External; this.Editor.Name = "Editor"; this.Editor.PdfAuthor = ""; this.Editor.PdfCreator = ""; this.Editor.PdfFooter = ""; this.Editor.PdfFooterHeight = 0F; this.Editor.PdfHeader = ""; this.Editor.PdfHeaderHeight = 0F; this.Editor.PdfKeyWords = ""; this.Editor.PDFLicenseKey = ""; this.Editor.PdfMarginBottom = 0F; this.Editor.PdfMarginLeft = 0F; this.Editor.PdfMarginRight = 0F; this.Editor.PdfMarginTop = 0F; this.Editor.PdfOrientation = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enPDFOrientation.Portrait; this.Editor.PdfOutputFileName = ""; this.Editor.PdfOutputPath = "\\"; this.Editor.PdfPaperSize = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enPDFPaperSize.Letter; this.Editor.PdfResolution = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enPDFResolution.DPI300; this.Editor.PdfSubject = ""; this.Editor.PdfTitle = ""; this.Editor.PdfUnit = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enPDFUnit.inches; this.Editor.ReadyState = false; this.Editor.ReturnMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enReturnMode.WP; this.Editor.Ruler = false; this.Editor.RulerUnit = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enRulerUnit.Pixel; this.Editor.SideBar = false; this.Editor.Size = new System.Drawing.Size(150, 150); this.Editor.SpellDelay = ((long)(1500)); this.Editor.StatusBar = false; this.Editor.TabIndex = 1; this.Editor.TextMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enTextMode.XHTML; this.Editor.UseFontTagFormatting = true; this.Editor.UseOnlyStyleFormatting = false; this.Editor.UserMode = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enUserMode.HTMLEditor; this.Editor.XHTMLType = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enXHTMLType.XHTML_10_TRANS; this.Editor.Enter += new System.EventHandler(this.Editor_Enter); this.Editor.ToolbarUpdate += new Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.ToolbarUpdateEventHandler(this.Editor_ToolbarUpdate_1);
I hope you can help me.
-Alexander
|
|
|
|
|
Report
|
|
|
|
06-01-2010, 2:43
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
Hello,
is there any difference if you set this in form_load:
this.Editor.ModeToolbar = Pintexx.Components.Desktop.pinEdit.pinEditWinFormControl.enToolbarConfiguration.External;
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
06-01-2010, 2:54
|
Alexander
Joined on 05-26-2010
Posts 10
|
|
|
Hi Hans..
I found the reason of the eventing problem, I don't know why but when you use the "Enter" event ( this.Editor.Enter) then the "UpdateToolbar" event doesn't work.
Thanks.
|
|
|
|
|
Report
|
|
|
|
06-02-2010, 8:34
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
|
|
Hello,
the ENTER event is not suported.
Please use KewDownEvent instead.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
|
Page 2 of 2 (19 items)
|
< 1 2 |
|
|
|
Pintexx Forum » Developer Produ... » pinEdit » Re: ToolbarUpdate Event
|
|
|
|