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. Image for the cookie policy date

Auto indentation

We use Edit control for writing or editing business rules. Here is a sample rule.


IF
LoanAmount > 200000
THEN
Fee = 550
ELSE
Fee = 600


We want all lines in IF, THEN and ELSE blocks are indented automatically. How can I get this feature?



3 Replies

VS Vallarasu S Syncfusion Team June 9, 2011 09:26 AM UTC

Hi Ravinder,

Thanks for your interest in Syncfusion products.

Auto Indentation is possible with the EditControl, Please refer to the following user guide and the sample pointed in the document.

http://help.syncfusion.com/ug_92/User%20Interface/Windows%20Forms/Edit/default.htm?turl=Documents%2F44112autoindentation.htm

Let me know if you need any further assistance.

Regards
Vallarasu S.



RM Ravinder Merugu- June 10, 2011 03:24 PM UTC

I updated my code as specified in this example, but it did not work. Can you please provide some sample app?



IM Iniyen M A Syncfusion Team June 13, 2011 03:09 PM UTC

Hi Ravinder,

Thanks for the update.

I have included the sample as follows. Kindly have a look on it and let us know if this helps you.

[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=AutoIndentation763617425.zip

Please let us know if you need further assistance.

Regards,
Iniyen M.A.



Loader.
Live Chat Icon For mobile
Up arrow icon