protected internal override void writeStepScript(StringBuilder buff, string spotId, Spotlight spot) { string body = Body.Replace("\r\n", "").Replace("'","\\'"); if (Height.Value != 0 && !Cmn.IsEmpty(Body)) Callout.setupBodyWithScrollWrapper(ref body, Height); buff.AppendFormat(" {0}.createCalloutStep({1}, '{2}', '{3}');\n", spotId, spot.calcControlName(AttachedTo, true), Title==null?"":Title.Replace("'","\\'").Replace("\r\n"," "), body); }
protected internal override void writeStepScript(StringBuilder buff, string spotId, Spotlight spot) { buff.AppendFormat(" {0}.createCodeStep('{1}', {2});\n", spotId, Value.Replace("'", "\\'").Replace("\r\n", " "), Delay); }
protected internal override void writeStepScript(StringBuilder buff, string spotId, Spotlight spot) { buff.AppendFormat(" {0}.createMouseStep('{1}', {2}, {3});\n", spotId, Action.ToString().ToUpper(), spot.calcControlName(AttachedTo, true), Delay); }
protected internal abstract void writeStepScript(StringBuilder buff, string spotId, Spotlight spot);
protected internal override void writeStepScript(StringBuilder buff, string spotId, Spotlight spot) { buff.AppendFormat(" {0}.createFormHelperStep({1}, '{2}', {3}, '{4}', {5});\n", spotId, spot.calcControlName(AttachedTo, true), Action.ToString().ToUpper(), Delay, Value.Replace("'", "\\'").Replace("\r\n", " "), SetFocus.ToString().ToLower()); }