I have figured out the custom eep problem. The help file is incorrect.
 
The semi-colon needs to be replaced with a carriage return. I use
(CHAR(013)) for the carriage return.
 
One problem solved, one to go!!
 
Dan Goldberg
 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Tuesday, April 28, 2009 9:22 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - FW: [RBASE-L] - RE: createobject


I do initialize the button and can see it but the eep does not fire.

I noticed that the cut and paste did not do any justice on my code.

Here it is reformatted.

CREATEOBJECT bitbtn 'ceditunitbtn' 'RBASE_FORM' 345 525 96 41 
SET VAR vquote = (CVAL('QUOTES')) 
SET VAR vcommand1 TEXT = +  
 ('PROPERTY rbase_form_action editviewunit '&vquote&' '&vquote&';RETURN') 
PROPERTY ceditunitbtn 'Custom_EEP->OnClickEEP' .vcommand1 
PROPERTY ceditunitbtn init true 
PROPERTY ceditunitbtn caption 'Edit/View a Unit'

Dan Goldberg


Reply via email to