Quantcast
Channel: TX Text Control Community
Viewing all 1022 articles
Browse latest View live

[OPEN] textControl1_ImageClickedevent is not fired sometimes when I click on an image

$
0
0
Hi,

I am using Tx Text Control .Net Windows form Version 15.0 in C# based project.

I have implemented textControl1_ImageClicked() event. This event is supposed to be called every time, I click on an image contained in Tx Text Control. But, what is happening is that, sometime this event is not called event I click on image multiple times.

Problem is it works sometime and sometime it doesn't.

Thanks in advance.

Below is the code to add an image to TxText Control
Code:

private void AddCheckboxImage_ButtonClick(object sender, EventAgrs e)
{
          TXTextControl.Image imgCheckboxChecked = new TXTextControl.Image();
            imgCheckboxChecked.FileName = AppDomain.CurrentDomain.BaseDirectory + @"Resources\CheckboxSelected.bmp";
            imgCheckboxChecked.Sizeable = false;
            imgCheckboxChecked.Moveable = true;
            imgCheckboxChecked.HorizontalScaling = 100;
            imgCheckboxChecked.VerticalScaling = 100;
            imgCheckboxChecked.SaveMode = ImageSaveMode.SaveAsFileReference;         
            textControl1.Images.Add(imgCheckboxChecked, textControl1.InputPosition.TextPosition);
               
}


Below is code from ImageClick event:
private void textControl1_ImageClicked(object sender, ImageEventArgs e)
        {
            //if document is on type word then toggle the checkbox state by toggling the image
                if (e.Image.FileName.Contains("CheckBoxUnchecked"))
                {
                    textControl1.Images.Remove(e.Image);

                    TXTextControl.Image imgCheckboxChecked = new TXTextControl.Image();
                    imgCheckboxChecked.FileName = AppDomain.CurrentDomain.BaseDirectory + @"Resources\CheckboxSelected.bmp";
                    imgCheckboxChecked.Sizeable = false;
                    imgCheckboxChecked.Moveable = false;
                    imgCheckboxChecked.HorizontalScaling = 100;
                    imgCheckboxChecked.VerticalScaling = 100;
                    imgCheckboxChecked.SaveMode = ImageSaveMode.SaveAsFileReference;                   
                    textControl1.Images.Add(imgCheckboxChecked, textControl1.InputPosition.TextPosition);
                }
                else if (e.Image.FileName.Contains("CheckboxSelected"))
                {
                    textControl1.Images.Remove(e.Image);

                    TXTextControl.Image imgCheckboxUnchecked = new TXTextControl.Image();
                    imgCheckboxUnchecked.FileName = AppDomain.CurrentDomain.BaseDirectory + @"Resources\CheckBoxUnchecked.bmp";
                    imgCheckboxUnchecked.Sizeable = false;
                    imgCheckboxUnchecked.Moveable = false;
                    imgCheckboxUnchecked.HorizontalScaling = 100;
                    imgCheckboxUnchecked.VerticalScaling = 100;
                    imgCheckboxUnchecked.SaveMode = TXTextControl.ImageSaveMode.SaveAsFileReference;
                    textControl1.Images.Add(imgCheckboxUnchecked, textControl1.InputPosition.TextPosition);
                }           
        }


Use with Google Docs

$
0
0
Is it possible to use Google Docs files (saved as DOCX or RTF) as templates?

There is a 'bookmark' feature but no 'merge field' option in the Google Docs interface. So is there a special character sequence that is recognised as a merge field?

(I have tried the left/right double-arrow characters, and curly braces, and the interface reports no merge fields in the document)

[OPEN] Setting Horizontal alignment for individual cells

$
0
0
I'm trying to set the horizontal alignment of a group of cells in a table but the following code changes the alignment in the entire row. Any suggestions?

.Selection.Start = Table.Cells.GetItem(2, 5).Start - 1
.Selection.Length = Table.Cells.GetItem(2, 8).Start - 1 _
+ Table.Cells.GetItem(2, 8).Length
.Selection.ParagraphFormat.Alignment = TXTextControl.HorizontalAlignment.Right
.Selection.Length = 0

[OPEN] Cannot place Cursor before Table if Table is first Element in Document (TX18)

$
0
0
Hey Tx-Community,

if a Table is the first element (first line) of a document - how is it possible to move the table downwards, so the cursor can be in the first line.

In Microsoft Word you just press ENTER in the Table and Word moves the Table one Line down.
Example of Table as first element in first row:
Click image for larger version. 

Name:	tableasfirstelement.png 
Views:	3 
Size:	8.7 KB 
ID:	2053

How can this be done without removing the table? Cursor in first line + Table moved down.
In Word you just press ENTER in the Table an it moves one line down.

Click image for larger version. 

Name:	cursorfirstline.png 
Views:	2 
Size:	6.9 KB 
ID:	2054


Hoping for help.
Deniz
Attached Thumbnails
Click image for larger version. 

Name:	tableasfirstelement.png 
Views:	N/A 
Size:	8.7 KB 
ID:	2053   Click image for larger version. 

Name:	cursorfirstline.png 
Views:	N/A 
Size:	6.9 KB 
ID:	2054  

[OPEN] can one project include two versions of txTextControl?

$
0
0
Hello,

We currently are using version 17 of TxTextControl .NET WinForms. We want to include a component we built using TxTextControl 17 into another vendor's solution using TxTextControl version 12.

We never used version 12 -- and I'm unsure if version 12 is the .NET or ActiveX version.

So, can one Visual Studio.NET WinForms project include controls that use two different versions of TxTextControl? Specifically version 12 and 17.

Was there a version 12 of the .NET control or was that just an ActiveX control?

Thanks for the information.

Bill

[OPEN] Keeping Lines Together on a Page

$
0
0
Hi. What is the best way to keep several lines of boilerplate text at the end of our document together on the page. We will be inserting this text from the application and would like it to print on the same page even if it appears on its own page.

I don't think the paragraph "keep lines together" property will work as there are blank lines in the block of text.


Thanks,
Alan

Example:


Thank you for your business.
Please sign and date below:



________________________________

Date Signature

Conferences and Code Camps 2013: Where to find us

$
0
0
The conference summer break is already over, but even during summer time, we supported conferences and code camps such as That Conference. We are preparing upcoming shows and I thought to share a list of already confirmed dates. BASTA!, September 23-27, Mainz - Germany. BASTA! is one of the largest .NET conferences in Europe - we have been...

More...

[OPEN] Do we have a default context menu for TxTextControl.TextControl

$
0
0
hi there,

I am using version 15.1 SP1 and I am trying to add a dialog box with context menu in it.

My question is: Do we have a default context menu for TxTextControl.TextControl? Such as: Cut, Paste, Delete, Undo, Delete

I found out that we have some context menu on version 19, but in 15, I am not sure.

Thanks
Trịnh.

Mirror Margin

$
0
0
TextControl is a great product! Keep up the good work.
It will be good if it can natively support mirror margins.
(Currently we divide each page to a section and apply margin, this leads to blank pages when exporting to rtf or doc sometimes).

Thanks
Ravi

Reporting Roadmap X10: Business Objects, Performance and Images

$
0
0
reporting-2.0. Even when there is no official final roadmap yet, I would like to reveal some of the great new features we are currently working on. (Business) object support as data sources. reporting-2.0. This is probably the most requested feature of the MailMerge class: Direct support for all kinds of (business) objects instead of...

More...

[OPEN] Can one project contain two versions of txTextControl

$
0
0
[No one has replied to this question. Can someone from the company please respond?]

Hello,

We currently are using version 17 of TxTextControl .NET WinForms. We want to include a component we built using TxTextControl 17 into another vendor's solution using TxTextControl version 12.

We never used version 12 -- and I'm unsure if version 12 is the .NET or ActiveX version.

So, can one Visual Studio.NET WinForms project include controls that use two different versions of TxTextControl? Specifically version 12 and 17.

Was there a version 12 of the .NET control or was that just an ActiveX control?

Thanks for the information.

Bill

[OPEN] Table Column Width As Percentage/AutoSize

$
0
0
Good day all!!! I'm a table to a control on the fly. I'm put text into the cell. I want some of the columns to AutoSize to the longest text added to the columns cells; and other cells I want tot set the column width as a pecentage.

How do I go about doing this...

Text Control Reporting: Getting-Started and Basic Concepts

$
0
0
We just launched a new Text Control Reporting Getting Started and Reporting Concepts overview documentation. This very easy-to-use getting started tutorial shows how to use the Template Designer with a sample database and templates and how to integrate the merging process into your .NET application. The Reporting Concepts glossary gives a good...

More...

TX Text Control X10 Roadmap: Right-to-Left - Arabic and Hebrew support

$
0
0
320 million people in our world are speaking the Arabic language and about 7 million people are speaking Hebrew. These languages use a different character set than Latin based languages and are written from right-to-left. For word processors, this is a very complex task. One feature of our next version TX Text Control X10 (20.0) is the support...

More...

Reporting Roadmap X10: Business Objects, Performance and Images

$
0
0
Version X9 has been released several months ago and we are already working on new features and improvements for the next version. In our labs, I was able to see some of the new features of the DocumentServer.MailMerge class - the Text Control Reporting Engine. Even when there is no official final roadmap yet, I would like to reveal some of the...

More...

Problem with assocArrayToArrayOfArrayOfString

$
0
0
Hi,

I try to include livedocx into my PHP5 laravel Project.

Soap is installed and enabled on the server:

Code:

soap

Soap Client        enabled
Soap Server        enabled

Directive                Local Value        Master Value
soap.wsdl_cache                1                1
soap.wsdl_cache_dir        /tmp                /tmp
soap.wsdl_cache_enabled        1                1
soap.wsdl_cache_limit        5                5
soap.wsdl_cache_ttl        86400                86400


I follow the example at http://www.phplivedocx.org/articles/...end-framework/, but get an error at

PHP Code:

        $soap->SetFieldValues(
            array (
                
'fieldValues' => assocArrayToArrayOfArrayOfString($fieldValues)
            )
        ); 

Code:

Call to undefined function assocArrayToArrayOfArrayOfString()
Any ideas?

Thanks

Dirk

[OPEN] Export to rtf/doc footer with page number field and opening in Microsoft word Issue

$
0
0
Hi,
1. Insert page number field with ShowNumberOFPages set to true.
2. Make sure your document is several pages long to include first page footer, footer and even page footer.
3. Export the document to Word or RTF.
4. Open this in Microsoft Office 2007.
5. The first page footer will have total page count as 1 instead of the actual page count.
6. Total page count is correct from second page.
7. If I preview in word the total page count is correct. If I change the view to two page view, it becomes correct. If I double click on the footer it becomes correct.

I am not sure what I am missing.

I have the example Project attached.

Please copy the PageFieldTest.rtf to c:\temp before running the project.

The Form has three buttons. Load a document, insert page field and save the document.
When you save the document is saved to c:\temp and is named ExportedDoc.rtf.

I am not sure if this is Microsoft word 2007 issue or TxTextControl issue. Can you please help?

Thanks
Ravi

[OPEN] programmaticly insert frames to a tablecell

$
0
0
Hi,

i'm trying to solve this for two days now, but didnt really get it in TextControl X8 Enterprise.

We want to insert textframes or images with text above into a TableCell. They should be placed below each other.

However i tried many ways now. But every one of them got some problems.

When i use TextFrameInsertionMode.AsCharacter or MoveWithText i have problems with pagebreaks.

When i use TextFrameInsertionMode.DisplaceCompleteLines or DisplaceText Textframes are written over each other.

Many of these functions fail when they are used in the first tabel cell. (the frame or image is placed way to far up)

I also played arround with using the Selection or TabelCell Start and Length, but had no success.

I looked at the TX Text Control Words Ribbon, but there are the same bugs :(

regards
Christoph Arndt

Sneak Peek Reporting X10: Report Data Source Configuration Files

$
0
0
Last week, I got hold of the latest internal beta release version of TX Text Control X10 (20.0) including an updated DocumentServer. We are very excited about the new reporting features and I thought to share some details over the next weeks. Today, I would like to introduce the Report Data Source Configuration files. These files are created in...

More...

[OPEN] How to set X/Y coordinates for built-in dialog boxes?

$
0
0
Hi,

if a user use more than one monitor and use my application on second or third monitor, your built-in dialog boxes (like "TX.ObjectAttrDialog") appears still only on the primary monitor.

How can I tell TXTextcontrol the correct position (always center of actualy monitor or the x/y coordinates)?
Viewing all 1022 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>