관리자 권한으로 실행하면 해결~

Posted by 구룡포과메기
,

http://supportforms.embarcadero.com

 

 

Posted by 구룡포과메기
,

Windows7에서 Delphi7 설치 후 실행시 아래와 같은 오류발생!!

 

Unable to rename 'c:\program files\borland\delphi7\bin\delphi32.$$$' to c:\progrom files\borland\delphi7\bin\delphi32.dro'

 

64Bit라 뜨는 오류인가 했는데

 

관리자 권한 문제

 

관리자 권한으로 실행하면 해결

 

Posted by 구룡포과메기
,

DateTimePickerName.Format := ' ';

OnChange method에 아래 추가

procedure TForm.DateTimePickerNameChange(Sender : TObject);

begin

DateTimePickerName.Format := ShortDateFormat;

end;

 

Posted by 구룡포과메기
,

tdxbar에서 마우스 오른쪽을 누를때 메뉴를 편집할 수 있는 팝업메뉴창이 뜬다

배포시에 이게 보이면 곤란하니...

아래와 같이 처리하면 된다

barmanager의 showtoolbarspopup 이벤트에서 처리하면 된다.

procedure <Form>.<dxBarManager>ShowToolbarsPopup(Sender: TdxBarManager;  PopupItemLinks: TdxBarItemLinks);
begin
     PopupItemLinks.Clear;
end;

Posted by 구룡포과메기
,

프로젝트 res파일 오픈해서

RT_MANIFEST항목을 열어서 아래 라인을 변경해서 컴파일하면 된다.

<requestedExcutionLevel level="asInvoker"/>

현재사용자 권한인 asInvoker 를 관리자권한인 requireAdministrator 로 변경

프로젝트 파일의 {$R *.res} 구문은 프로젝트파일명과 동일한 res파일을 참조한다는 것이고 {$R 파일명.res}의 형태로 추가하면 된다

Posted by 구룡포과메기
,

uses에 dxCore 추가~~~

Posted by 구룡포과메기
,

* 증상

- Delphi7 환경에서 TWebBrowser에 브이월드3D영상을 뿌리면서 발생

- XP에서 발생(7은 발생하지 않음)

- TWebBrowser 컨트롤 위에 마우스 올리면 발생

- 디버그 모드에서는 발생하지 않으나 실행파일 실행시 발생

* 원인

Flash 파일 랜더링시 연산과정에서 발생하는 오류

* 해결방안

1. 전역으로 변수 선언

Org8087CW : Word;//system의 Default8087CW의 원래값을 기억하기 위함

2. Form 생성시 선언된 변수에 해당값 대입 

Original8087CW:= System.Default8087CW;

3. WebBrowserVWorldBeforeNavigate2 이벤트에 아래구문 추가

System.Set8087CW($133F);

4. Form close시 원래값 셋팅

system.Set8087CW(Original8087CW);

Posted by 구룡포과메기
,

BarManager - properties - scaled : False

설정 후 Font에서 수정 가능

Posted by 구룡포과메기
,

* TcxImage 테두리 없애기

Properties - Style - BorderStyle - ebsNone

 

* TPanel 테두리 없애기

Properties - BorderStyle - bsNone

 

* 문자열 중앙정렬

Properties - Alignment - taCenter

 

 

Posted by 구룡포과메기
,