PDF 파일을 인쇄하고 생성하는 응용 프로그램의 설치 프로그램을 작성 중이며 사용자가 출력의 기본 페이지 크기 (US Letter, Legal 또는 A4)를 설정할 수 있기를 원합니다.
현재 내 설치 프로그램은 구성 요소 선택 페이지의 드롭 다운 목록으로 옵션 목록을 표시합니다. 라디오 버튼이있는 플랫 목록으로 목록을 표시하는 방법이 있습니까? 이 작업을 위해 몇 시간을 보냈지 만 확실한 방법을 찾을 수 없습니다. 관련 코드는 다음과 같습니다.
[Types]
Name: "SetUSLetterPaperSize"; Description: "Select US Letter paper size";
Name: "SetLegalPaperSize"; Description: "Select Legal paper size";
Name: "SetA4PaperSize"; Description: "Select A4 paper size";
[Components]
Name: "USLetterPaperSize"; Description: "Use US Letter paper size as default"; Types: SetUSLetterPaperSize; Flags: exclusive
Name: "LegalPaperSize"; Description: "Use Legal paper size as default"; Types: SetLegalPaperSize; Flags: exclusive
Name: "A4PaperSize"; Description: "Use A4 paper size as default"; Types: SetA4PaperSize; Flags: exclusive
도움을 주시면 감사하겠습니다.하지만 파스칼 코드를 알아 내야하는데 그렇게 할 수 없었을 것 같습니다.
용지 크기는 구성 요소가 아닙니다. 대신 플래그가있는 태스크 를 사용하십시오 .exclusive
기본 옵션을 표시하려면 다른 모든 옵션과 함께 unchecked
플래그 를 사용 하십시오.
[Tasks]
Name: SetUSLetterPaperSize; Description: "Select US Letter paper size"; Flags: exclusive
Name: SetLegalPaperSize; Description: "Select Legal paper size"; Flags: exclusive unchecked
Name: SetA4PaperSize; Description: "Select A4 paper size"; Flags: exclusive unchecked
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다