| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ShowHideComponentsForRadioButtonValue () id:Method_DialogEDIImportExport_ShowHideComponentsForRadioButtonValue | 
| { | 
|   #keys: '[124808.0.727061256]' | 
|   Body: | 
|   [* | 
|     // Show / hide components for radio button value | 
|     selection := RadioButtonGroupExcelOrDataManager.BoundValue(); | 
|     is3DDrive := selection = MPSyncUtility::ID_Source_3DDrive(); | 
|     isDEF := selection = MPSyncUtility::ID_Source_DEF(); | 
|      | 
|          | 
|     isexcel := RadioButtonGroupExcelOrDataManager.BoundValue() = MPSyncUtility::ID_Source_Excel(); | 
|     // set last import/ export path | 
|     Dialog.SetUserPath( isexcel ); | 
|          | 
|     PanelExcel.Visible( not isDEF ); | 
|     ImageExcel.Visible( not isDEF ); | 
|     SplitterWndImportObjectGroup.Visible( not isDEF ); | 
|      | 
|     // Visibility of components in the Excel panel | 
|     LabelPath3DDrive.Visible( is3DDrive ); | 
|     EditorImportExportPath3DDrive.Visible( is3DDrive ); | 
|     ButtonBrowse3DDrive.Visible( is3DDrive ); | 
|     LabelPath.Visible( not is3DDrive ); | 
|     EditorImportExportPath.Visible( not is3DDrive ); | 
|     ButtonBrowse.Visible( not is3DDrive ); | 
|      | 
|     // Visibility of components in the DEF panel | 
|     PanelDataExchangeFramework.Visible( isDEF ); | 
|     ImageDEF.Visible( isDEF ); | 
|   *] | 
| } |