You are on page 1of 2

------------------------------------------------------------------------

--
-- Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries.
All rights reserved in original code only.
--
-- File: aidblobsize.pmlfrm
-- Type: Form Definition
-- Group: Aid element handlers
-- Keyword: AID
-- Module: common
-- Replaces:
--
-- Author: N.Holmes
-- Created: Fri Aug 28 09:50:16 BST 1998
--
--
-- Description:
-- Default blob size for aid working points.
--
------------------------------------------------------------------------
--
-- Methods defined:
--
-- Method call Return Description
-- =========== ====== ===========
-- initialise() - Initialise Form
--
------------------------------------------------------------------------

layout form !!aidBlobSize

!!aidBlobSize.formTitle = 'Working Point Size'


!!aidBlobSize.iconTitle = ''
!!aidBlobSize.callback = '!this.initialise()'
!!aidBlobSize.formRevision = ' $Revision: 1.3 $ '

-- Body of form definition


text .diameter 'Diameter ' width 14 is REAL format !!distanceFmt

-- Update all or only subsequent


rgroup .update 'Apply to' at xmin ymax frame horizontal
add tag 'New ' select 'NEW'
add tag 'Defined' select 'ALL'
exit

-- Apply/Dismiss
button .apply 'OK' at xmax form-10-size ymax+0.2 width 8 callback '!!
aidConstructors.blobSize(!this.diameter.val, !this.update.selection())' OK
button .dismiss 'Cancel' at xmax form-size ymin width 8 cancel

exit
-- End of form definition for !!aidBlobSize

------------------------------------------------------------------------
--
-- Method: initialise
--
-- Description: Initialise Form
--
-- Method Type: Function/Procedure
-- Arguments:
-- [#] [R/RW] [Data Type] [Description]
-- Return:
-- [Data Type] [Description]
--
------------------------------------------------------------------------

define method .initialise()

!this.diameter.val = !!aidConstructors.blobSize

endmethod
-- End of method definition for .initialise()

You might also like