특정 Dialog나 Window의 Get만 모두 Refresh해줍다.

 

문법(Grammar)

Dr_GetRefresh( oWnd )

 

인수(Arguments)

oWnd    Window나 Dialog 객체명

 

되돌림값(Return)

없음

 

설명(Explanation)

특정 Dialog나 Window의 Get만 모두 Refresh해줍니다.

 

예제(Sample)

#include "npp.ch"
Func Main()
      Local oDlg
      Local oGet1, cName := "홍길동"
      Local oGet2, cJuso := "서울시"

      DEFINE DIALOG oDlg TITLE "DR_GETREFRESH"

      @ 1,  2 SAY "이름:" OF oDlg
      @ 1,  6 GET oGet1 VAR cName OF oDlg SIZE 40, 10
      @ 2,  2 SAY "주소:" OF oDlg
      @ 2,  6 GET oGet2 VAR cJuso OF oDlg SIZE 40, 10
 
      @ 4,  6 BUTTON "&Ok" OF oDlg SIZE 30, 12       	;
              ACTION ( cName:=cJuso:=space(10),      	;
                       Dr_GetRefresh(oDlg),          	;
                       oGet1:SetFocus() )
      @ 4, 12 BUTTON "&Cancel" SIZE 30, 12 OF oDlg   	;
              ACTION oDlg:End()
 
      ACTIVATE DIALOG oDlg CENTERED

Return Nil
 

Link categories 1

Link categories 2