modified


pfcapsrv.pbl   >   pfc_w_pagesetup   >   em_top   >   modified   

Full name pfc_w_pagesetup.em_top.modified
Access public
Extend of
Return value
Prototype event modified()

Name Datatype
No Data

Name Datatype
ls_topmargin string

event modified;call super::modified;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  modified
//
//	Description:	 Validate the entered value.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

string	ls_topmargin

if IsNumber (this.text) then
	if Dec (this.text) < istr_pagesetup.i_minmargintop then
		ls_topmargin = String (istr_pagesetup.i_minmargintop)
		of_MessageBox ("pfc_pagesetup_topminimum", "Page Setup", &
			"Minimum top margin is " + ls_topmargin, exclamation!, Ok!, 1)
		this.text = ls_topmargin
	end if
end if
end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.dec systemfunctions
systemfunctions.isnumber systemfunctions
systemfunctions.string systemfunctions
pfc_u_em.of_messagebox pfc_u_em
multilineedit.modified multilineedit

     
Full name
s_pagesetupattrib

     
Name Scope
No Data