Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by Alexander at 05-31-2010 3:03 . Topic has 18 replies.

Print Search
Sort Posts:    
   05-31-2010, 3:03
Alexander is not online. Last active: 26.05.2010 15:04:07 Alexander

Top 75 Posts
Joined on 05-26-2010
Posts 10
Re: ToolbarUpdate Event
Reply Quote
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 is not online. Last active: 07.09.2010 08:40:43 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.841
Re: ToolbarUpdate Event
Reply Quote
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 is not online. Last active: 26.05.2010 15:04:07 Alexander

Top 75 Posts
Joined on 05-26-2010
Posts 10
Re: ToolbarUpdate Event
Reply Quote
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 is not online. Last active: 07.09.2010 08:40:43 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.841
Re: ToolbarUpdate Event
Reply Quote
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 » ToolbarUpdate Event