If you need to disable the main account segment in a segmented entry control displayed on the form, then you just need to call a method of LedgerDimensionAccountController class. The code is shown below:


You must have the LedgerDimensionAccountController object already initialized, if you have the segmented entry control on the form.