사용자 도구

사이트 도구


uxcontrols

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
uxcontrols [2025/07/09 10:55] adminuxcontrols [2025/12/06 07:26] (현재) – 바깥 편집 127.0.0.1
줄 42: 줄 42:
  
  
-    아래 Control중 IUBiData를 상속 받았으면 Data Adapter와 연동다.+    아래 Control중 IUBiData를 상속 받았으면 Data Adapter와 연동되며 
 +    DataAdapter 연결이 안된 컨트롤은 빨간색 테두리가 보입니다.
  
 ==== 1. UBiTextEdit ==== ==== 1. UBiTextEdit ====
줄 52: 줄 53:
     Data Adapter의 numeric컬럼과 연동하여 사용함     Data Adapter의 numeric컬럼과 연동하여 사용함
     숫자만 입력 가능함     숫자만 입력 가능함
 +    DataAdapter Field에서 지정한 Format이 자동 적용 됩니다.
     public class UBiSpinEdit : SpinEdit, IUBiControl, IUBiLanguageControl, IUBiData     public class UBiSpinEdit : SpinEdit, IUBiControl, IUBiLanguageControl, IUBiData
          
 ==== 3. UBiDateEdit ==== ==== 3. UBiDateEdit ====
     Data Adapter의 Date, DateTime, TimeStamp 컬럼과 연동하여 사용됨     Data Adapter의 Date, DateTime, TimeStamp 컬럼과 연동하여 사용됨
-    날짜형식의 Format을 지정할 수 있다.+    날짜형식의 Format을 지정할 수 있고 날자 또는 년도를 선택하는 형식으로 팝업창의 형식을 바꿀수 있습니다.
     public class UBiDateEdit : DateEdit, IUBiControl, IUBiLanguageControl, IUBiData     public class UBiDateEdit : DateEdit, IUBiControl, IUBiLanguageControl, IUBiData
  
-==== 4. UBiGridLookupEdit ==== +    년/월만 표현 가능 
-    입력필드에 포커스가 오면 그리드 팝업이 열리고 행을 선택하여 값을 하는 방벙의 입력을 지원합니다. +    dateEdit.Properties.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.Vista; 
-    이 Control은 그리드 팝업에 나타날 데이터를 가저오는 Data Adapter가 필요하며+    dateEdit.Properties.VistaCalendarViewStyle = DevExpress.XtraEditors.VistaCalendarViewStyle.YearView; 
 +    dateEdit.Properties.Mask.EditMask = "yyyy-MM"; 
 +    dateEdit.Properties.DisplayFormat.FormatString = "yyyy-MM"; 
 +    dateEdit.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; 
 +    dateEdit.Properties.EditFormat.FormatString = "yyyy-MM"; 
 +    dateEdit.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; 
 + 
 +{{:ubidateeditpopup.png?400|}} 
 + 
 +==== 4. UBiSearchLookupEdit ==== 
 +    파워빌더 기억이 나시는 분은 연식이좀 오래 되신분이겠지만... 파워빌더의 드롭다운 DataWindow와 같다고 보시면 됩니다.  
 +    컬럼의 입력필드에 포커스가 오면 그리드 팝업이 열리고 행을 선택하여 값을 입력하는 방을 지원합니다. 
 +    이 Control은 그리드 팝업에 나타날 데이터를 가저오는 Data Adapter(Lookup용 Adapter)가 필요하며
     Data Field와 Display field지정이 필요합니다. 보이고 싶지 않는 항목은 Is Hidden 지정 하면 됩니다.     Data Field와 Display field지정이 필요합니다. 보이고 싶지 않는 항목은 Is Hidden 지정 하면 됩니다.
          
-    public class UBiGridLookUpEdit : GridLookUpEdit, IUBiControl, IUBiLanguageControl, IUBiData+    public class UBiSearchLookupEdit : GridLookUpEdit, IUBiControl, IUBiLanguageControl, IUBiData
  
     DataAdapter:'GET_MATIN'의 TRANSIT Field, Column Type항목 팝업에서 'LOOKUPEDIT'를 선택하면     DataAdapter:'GET_MATIN'의 TRANSIT Field, Column Type항목 팝업에서 'LOOKUPEDIT'를 선택하면
줄 83: 줄 97:
  
 ==== 6. UBiCheckEdit ==== ==== 6. UBiCheckEdit ====
-    'Y', 'N' 값을 갖는 필드를 체크로 표시함+    DataAdapter 필드에 지정한 값['Y', 'N'] 체크, 언체크로 표시함, 필드 속성이 Read Only가 아니라면 수정 가능
     public class UBiCheckEdit : CheckEdit, IUBiControl, IXtraResizableControl, IUBiLanguageControl, IUBiData     public class UBiCheckEdit : CheckEdit, IUBiControl, IXtraResizableControl, IUBiLanguageControl, IUBiData
            
 ==== 7. UBiSimpleButton ==== ==== 7. UBiSimpleButton ====
 +    UBiSimpleButton은 사용자의 화면이 열릴때 부여받은 권한을 상속 받는다.
 +    이 Control은 자가 속성에 Select, Add, delete, Update, Save등의 속성을 포함하여 화면이 부여받은 속성에 따라
 +    Click권한이 제한된다.
 +    
 +    UBIAuthority : 화면이 열릴때 부여받은 권한에 따라 Click이 제한됨
 +    UBiButtonSize : 화면이 그려질 크기 [Large, Small]
 +    UBiButtonType : 버튼에 들어갈 문구와 아이콘 지정
 +    UBiCommandType : 버튼이 Click하면 발생하는 DataAdapter의 데이터 Validation 처리
 +{{:ubisimplebutton_propertis.png?400|}}
 +
  
 ==== 8. UBiMemoEdit ==== ==== 8. UBiMemoEdit ====
 +    UBiTextEdit와 같으며 좀더 많은 양의 Text를 다룬다
  
 ==== 9. UBiGridControl ==== ==== 9. UBiGridControl ====
 +    일반적인 DevExpress의 GridView Control이며 대부분 DataAdapter와 연동하여 사용된다.
 +    '= GridView Propertis =' 를 통해 간단하게 그리드의 속성과 컬럼을 통제 가능하다.
 +    조회된 Data의 수정, 삭제, 추가 등이 손쉽게 구성되며 별도의 코딩작업이 필요없다.
 +    변경된 데이터는 DataAdapter에 의해 Data Base에 적용된다.
 +    아래 링크로 가서 자세한 내용을 살펴보길 권한다.
 +    
 +[[datamanager|GridView와 Data Manager의 연결작업 참조]]
  
 ==== 10. UBiBandedGridControl ==== ==== 10. UBiBandedGridControl ====
 +    GridView의 Band가 추가된 버젼이다.
  
 ==== 11. UBiAdvBandedGridControl ==== ==== 11. UBiAdvBandedGridControl ====
 +    하나의 데이터행을 여러줄로 표현이 가능하다.
 +    약간의 Form 형태의 행으로 만들수 있다.
  
 ==== 12. UBiTreeList ==== ==== 12. UBiTreeList ====
 +    Data Adapter에 의해 불려온 데이터를 Tree형식으로 표현한다.
 +    각 행은 uniq한 컬럼이 있어야 하며 상위 uniq행의 값을 가진다.
 +    
 +    [아래 속성의 정의가 필요하다]
 +    RootValue : 0
 +    KeyFieldName : KEY_ID
 +    ParentFieldName : PARENT_ID
 +    
 +    Data Adapter의 Adapter View List에 나열된 Column중에 사용된다.
 +    
 +{{:treelistpropertis_popup.png?600|}}
  
 ==== 13. UBiPictureEdit ==== ==== 13. UBiPictureEdit ====
 +    한장의 사진을 저장할 수 있으며 Data Adapter의 필드 하나를 지정해야하고
 +    파일이름이 저장될 필드와 서버에 저장될 경로만 지정해주면 된다
 +    Release(배포) 컴파일 상태에서는 Drag & Drop으로 파일을 저장할 수 있다.
 +
 +{{:pictureeditpropertispopup.png?600|}}
  
 ==== 14. UBiFileManager ==== ==== 14. UBiFileManager ====
 +    Data Adapter의 필드를 지정한다.
 +    서버에 올라가서 저장될 파일이름에 사용된다.
 +    파일의 추가, 삭제는 화면이 열릴때 가져온 권한에 종속 된다.
 +{{:filemanager_propertis_popup.png?600|}}
  
-==== 15UBiSearchLookupEdit ====+    탐색기에서 선택한 파일을 Drag & Drop하여 추가 할수 있다. 
 +{{:filemanagerdragdrop.png?600|}}
  
 +==== 15. UBiSendMail ====
 +    외부 Smtp를 이용한 메일 발송하느 컴포넌트
 +{{:ubisendmail.png?300|}}
 +    
 +
 +==== 16. UBiSerialPort ====
 +    Rs-232C 통신을 위한 컴포넌트
 +    
 +    EventDataRead 이벤트를 구독하면 읽은 데이터를 핸들링 할수 있음.
 +    *** 수신 전용 ***
 +    
 +{{:ubiserialport.png?300|}}
  
 [[ux|↑ 상위로 가기]] [[ux|↑ 상위로 가기]]
  
uxcontrols.1752058524.txt.gz · 마지막으로 수정됨: (바깥 편집)