We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TabStops not available when using <Text = "";> ?

Thread ID:

Created:

Updated:

Platform:

Replies:

75033 Jul 9,2008 09:08 AM Nov 3,2009 05:12 AM Windows Forms 22
loading
Tags: EditControl
Administrator [Syncfusion]
Asked On July 9, 2008 09:08 AM

Hi,

I'd like to modify the Text property of my EditControl using something like this :

myEditControl.Text = "myText \t myText \n myT \t myT \n";

But tabstops seem not to be respected (UseTabStops is true. UseTabs is true too and TabStopsArray = new int[] {8,16,...};) whereas when I use the tab button to modify the text manually (not in the code) tabstops are applied.

In both cases the TextChanging event is called.

How can I apply tabstops in the first case ?

Thanks !

M.C.


Fathima Shalini P [Syncfusion]
Replied On July 10, 2008 09:25 AM

Hi,

Thank you for your interest in Syncfusion Products.

TabStops property does not work as expected when setting Tab using '\t' in EditControl's text

We suspect this issue to be a defect. We have sent this to our developers for more analysis. We will update you on or before July 14th 2008.

Please let me know if any concerns.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On July 14, 2008 09:21 AM

Hi,

Thank you for your patience.

The issue "TabStops property does not work as expected when setting Tab using '\t' in EditControl's text" is confirmed as a defect and our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on August 4th 2008 and will get back to you on the same day with more details.

Please let me know if any concerns.

Regards,
Fathima


Administrator [Syncfusion]
Replied On August 6, 2008 02:08 AM

Hi,

Sorry for the delay response.

Our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on Augest 26th 2008 and will get back to you on the same day with more details.

Please let me know if any concerns.

Regards,
Hema



Administrator [Syncfusion]
Replied On August 8, 2008 08:14 AM

Hi,

I'm still interested in this bugfix. I'd like this to be fixed as soon as possible.

How will I be able to get and install your "patch" ?
Will we need to upgrade our Syncfusion (I mean to pay for) ? I think I'm using the 4.102.0.50 version of Syncfusion.Edit.Windows.

Thank you.
Regards,

M.C.


Administrator [Syncfusion]
Replied On August 11, 2008 07:16 AM

Hi,

Thank you for the update.

Our developers are working on fixing this issue with high priority. We will analysis the possibility to provide the patch for 4.102.0.50 version, once the issue is fixed.

Please let me know if you have any queries.

Regards,
Hema


Administrator [Syncfusion]
Replied On August 20, 2008 11:20 AM

Hi,

I've also seen another problem using TabStops:
White spaces are used to reach the next tabstop if the space is inferior than the space between the TabStopsArray's members. This problem isn't when UseTabStops = false.

Example:

I write:
"ROLL {
[NAME\t\tCALENDAR\tWEIGHTS\t\tCUSTOM]
[DEFAULT\t(1BD,1,4)\tLINEAR\t\tNONE]
};"

And in fact the text value is not this but:
"ROLL {
[NAME \tCALENDAR\tWEIGHTS \tCUSTOM]
[DEFAULT (1BD,1,4) LINEAR \tNONE]
};"

Configuration:
- UseTabStops = true;
- TabStopsArray = 4, 8, 12, 16, ...

I thought TabStops were just something about appearance, but in fact, in this case, they change typed chars...

Is this "normal" ?

Thank you.

M.C.


Administrator [Syncfusion]
Replied On August 20, 2008 11:23 AM

[EDIT]
Example (replace "_" by 1 white space):

I write:
"ROLL_{\n
[NAME\t\tCALENDAR\tWEIGHTS\t\tCUSTOM]\n
[DEFAULT\t(1BD,1,4)\tLINEAR\t\tNONE]\n
};"

And in fact the text value is not this but:
"ROLL_{\n
[NAME__\tCALENDAR\tWEIGHTS_\tCUSTOM]\n
[DEFAULT___(1BD,1,4)___LINEAR__\tNONE]\n
};"


Fathima Shalini P [Syncfusion]
Replied On August 25, 2008 04:42 AM

Hi,

Thank you for your update.

I am afraid that I am not able to reproduce the mentioned issue. I have set the following edit control's test as follows:


this.editControl1.Text = "ROLL_{\n[NAME\t\tCALENDAR\tWEIGHTS\t\tCUSTOM]\n[DEFAULT\t(1BD,1,4)\tLINEAR\t\tNONE]\n};";


At run time I could see the following text as expected in Edit Control:


ROLL_{
[NAME CALENDAR WEIGHTS CUSTOM]
[DEFAULT (1BD,1,4) LINEAR NONE]
};


Please refer the following sample in the given link:

http://websamples.syncfusion.com/samples/Edit/F75033/main.htm

If I am missing anything, could you please let me know in detail of your requirement, so that I could work out in depth and provide you a better solution at the earliest?

Please let me know if any concerns.

Regards,
Fathima


Administrator [Syncfusion]
Replied On August 25, 2008 04:56 AM

Hi,

This second problem doesn't exist when you "write" the text using .Text = "...";

It's only when you manually type the text in the EditControl.

You can see that white spaces are used instead of tabs by setting :
EditControl.ShowWhitespaces = true;

M.C.



Fathima Shalini P [Syncfusion]
Replied On August 26, 2008 07:49 AM

Hi,

Thank you for your update.

When setting ShowWhiteSpaces property to true the white spaces are replaced with default indicators as explained here.

1) Single Spaces are indicated using dots.

2) Tabs are indicated using right arrows.

3) Line Feeds are indicated using a special line feed symbol.

So it is default behaviour only. Please refer the following documenatation link for more details:

http://www2.syncfusion.com/ug_63/edit/WhiteSpaceDisplay.html

Please let me know if any concerns.

Regards,
Fathima



Administrator [Syncfusion]
Replied On September 4, 2008 07:13 AM

Hi,

Thank you for your answer.

Sorry, for not being clear enough. I am not confused by the displayed chars for invisible chars.
The problem is the same if I use .WhiteSpaceIndicators.SpaceChar = "\t"; => I got three "\t" instead of the only one I should have.

The fact is when you MANUALLY write:
"ROLL{
[NAMECALENDARWEIGHTSCUSTOM]
[DEFAULT(1BD,1,4)LINEARNONE]
};"

Whether .UseTabStops is true or false, and whatever .TabStopsArray is, .TEXT property should be:
(To be more explicit white space are replaced by "_")

"ROLL_{\n
[NAME\t\tCALENDAR\tWEIGHTS\t\tCUSTOM]\n
[DEFAULT\t(1BD,1,4)\tLINEAR\t\tNONE]\n
};"

Because UseTabStops and TabStopsArray should only affect displayed text and not change the TEXT value.
BUT, when using .UseTabStops = TRUE and .TabStopsArray = 4, 8, 12, 16,... the TEXT VALUE is not what you've written but this:

"ROLL_{\n
[NAME__\tCALENDAR\tWEIGHTS_\tCUSTOM]\n
[DEFAULT___(1BD,1,4)___LINEAR__\tNONE]\n
};"

Consequently, displaying options affects the TEXT VALUE in your component, which is not the case with others components.
And of course I'd like to avoid this comportment.
It seems very strange to me and I'm pretty sure that's a bug.

M.C.

PS: What about the bugfix for the first bug ?



Fathima Shalini P [Syncfusion]
Replied On September 23, 2008 08:32 AM

Hi,

Thank you for your interest in Syncfusion Products.

1) TabStops affects the WhiteSpaces display:

I am afarid that I was not much clear about the issue that you are mentioning here. Please have a look at the below sample:

http://websamples.syncfusion.com/samples/Edit/F75033_1/main.htm

I could see the difference in the display between text given in the Text and when it is typed at the runtime. Is this the issue that your are mentioning. If not could you please modify the above sample that clearly describes the issue and send me so that I could sort out the cause of the issue and provide me a better solution?

2) TabStops property does not work as expected when setting Tab using '\t' in EditControl's text:

Our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on or before October 10th 2008. I will getback to you on the same day with more details.

Please let me know if any concerns.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On September 23, 2008 08:32 AM

Hi,

Thank you for your interest in Syncfusion Products.

1) TabStops affects the WhiteSpaces display:

I am afarid that I was not much clear about the issue that you are mentioning here. Please have a look at the below sample:

http://websamples.syncfusion.com/samples/Edit/F75033_1/main.htm

I could see the difference in the display between text given in the Text and when it is typed at the runtime. Is this the issue that your are mentioning. If not could you please modify the above sample that clearly describes the issue and send me so that I could sort out the cause of the issue and provide me a better solution?

2) TabStops property does not work as expected when setting Tab using '\t' in EditControl's text:

Our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on or before October 10th 2008. I will getback to you on the same day with more details.

Please let me know if any concerns.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On September 23, 2008 08:33 AM

Hi,

Thank you for your interest in Syncfusion Products.

1) TabStops affects the WhiteSpaces display:

I am afarid that I was not much clear about the issue that you are mentioning here. Please have a look at the below sample:

http://websamples.syncfusion.com/samples/Edit/F75033_1/main.htm

I could see the difference in the display between text given in the Text and when it is typed at the runtime. Is this the issue that your are mentioning. If not could you please modify the above sample that clearly describes the issue and send me so that I could sort out the cause of the issue and provide me a better solution?

2) TabStops property does not work as expected when setting Tab using '\t' in EditControl's text:

Our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on or before October 10th 2008. I will getback to you on the same day with more details.

Please let me know if any concerns.

Regards,
Fathima


Fathima Shalini P [Syncfusion]
Replied On September 23, 2008 08:45 AM

Hi,

Thank you for your interest in Syncfusion Products.

1) TabStops affects the WhiteSpaces display:

I am afarid that I was not much clear about the issue that you are mentioning here. Please have a look at the below sample:

http://websamples.syncfusion.com/samples/Edit/F75033_1/main.htm

I could see the difference in the display between text given in the Text and when it is typed at the runtime. Is this the issue that your are mentioning. If not could you please modify the above sample that clearly describes the issue and send me so that I could sort out the cause of the issue and provide me a better solution?

2) TabStops property does not work as expected when setting Tab using '\t' in EditControl's text:

Our developers are working on fixing this issue with high priority. The fix for the defect is expected to be available on or before October 10th 2008. I will getback to you on the same day with more details.

Please let me know if any concerns.

Regards,
Fathima


Brian Hublein
Replied On September 29, 2009 02:15 PM

Has this been fixed yet?

Nandakumar R [Syncfusion]
Replied On October 5, 2009 01:04 AM


Hi Brian,

This issue has not been fixed yet and we have planned this for the Essential Studio 2009. Vol.4 refresh release. I will get back to you once this issue is fixed in the version.

This is expected to be available by the middle of December 2009.

Regards,
Nanda

Brian Hublein
Replied On October 7, 2009 07:13 AM

Thanks

Nandakumar R [Syncfusion]
Replied On October 13, 2009 05:34 AM

Thanks Brian.

Regards,
Nanda

Brian Hublein
Replied On October 21, 2009 09:42 AM

Nanda,

Is there any way I get get an early version of this as a beta. We want to release around the end of the year and I need to know if your fix is going to work for me. If not I'll have to modify the control myself as I have the source code. Please let me know soon.

Thanks,
Brian Hublein
Cyberlogic

Brian Hublein
Replied On October 27, 2009 11:07 AM

Can I get an answer?

Thanks,
Brian Hublein
Cyberlogic

Nandakumar R [Syncfusion]
Replied On November 3, 2009 05:12 AM

Hi Brian,

We are still working on fixing this issue. The fix has been planned to be included after the final release of the Vol.4. I will get back to you once the fix for this is available.

Regards,
Nanda

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;