> 혹시 간단한거라도 있으신분 계시면 좀 주셨으면 합니다...아니면 그냥 간단한 프로그램 방법이라도...알려주시면 굉장히 감사하겠습니다.....
> 제발.........
아래의 영문은 DBCheckBox의 사용법의 영문입니다.
아래의 내용을 요약하자면 DBCheckBox에서는 ValueChecked와 ValueUnChecked
란 프로퍼티가 키포인트 입니다.
DataField에 들어 있는 특정 스트링의 값을 valuechecked와 valueunchecked
에 있는 값과 비교하여 valuechecked와 같으면 check를 해주고
valueunchecked와 같으면 uncheck를 해줍니다.
프로퍼티사용법은 다음과 같습니다.
DBCheckBox1.ValueChecked := 'True;Yes;On';
True, Yes, On이란 3가지 스트링을 만나면 check해줘란 뜻이죠
만약 Valuechecked와 valueunchecked에 걸리리는 스트링이 아니면
Gray형태로 보여 줍니다. 마치 Unabled같은 형태이죠
도움이 되셨길......
Use ValueChecked to specify the field value represented by the check box when it is checked. If the value of the ValueChecked property is equal to the data in the field of the current record of the dataset, the database check box appears checked. When the user checks the database check box, the field value is set to ValueChecked.
ValueChecked can represent more than one value in a semicolon-delimited list of items. If any of the items matches the contents of the field of the current record in the dataset, the check box appears checked. For example, set the value of ValueChecked string like this:
DBCheckBox1.ValueChecked := 'True;Yes;On';
If the contents of the associated field is the string True, Yes, or On, the check box is checked. The value of the field is compared to ValueChecked in a case-insensitive comparison. If the user selects a check box where ValueChecked represents more than one value, the first item in the list is assigned to the field.
If the contents of the field of the current record matches a string specified as the value of the ValueUnchecked property, the check box appears unchecked. If the contents of the field matches no string in either ValueChecked or ValueUnchecked, the check box appears gray.
발생하면 그 레코드의 필드내용에 따라 작업을 하려합니다.
아무리 찾아도 이런 이벤트는 없는것 같은데 전문가의 조언을 바랍니다.