FoxInCloud
Problem with timer
Gravatar is a globally recognized avatar based on your email address. Problem with timer
  Vincent H.
  All
  Jun 22, 2018 @ 03:59pm

Hi Thierry,

Without modification of my code, and certainly since the last update of FIC, my timers no longer work.

Gravatar is a globally recognized avatar based on your email address. re: Problem with timer
  Vincent H.
  Vincent H.
  Jun 23, 2018 @ 09:12am

The timer instruction in the ICASE () must be traced as follows:

modify command awHTML  

FUNCTION getHTML_
lcResult = ICase(;
	ga_Type_IsChar(m.lcResult, .T.),;
		m.lcResult,;
	m.this.cBaseClass == 'timer’,; && Go up this line
		m.this.getHTML_tmr(),;
	!lBaseClassVisual(m.this.cBaseClass),;
		.T.,;
	m.this.lContainer,; && form, page, container, *group
		m.this.getHTML_cnt(m.tlInnerHTML),;
	m.this.cBaseClass == 'grid',;
		m.this.getHTML_grd(m.tlInnerHTML),;
	m.this.cBaseClass == 'textbox',;
		m.this.getHTML_txt(),;
	m.this.cBaseClass == 'label',;
		m.this.getHTML_lbl(),;
	m.this.cBaseClass == 'commandbutton',;
		m.this.getHTML_cmd(),;
	m.this.cBaseClass $  'combobox,listbox',;
		m.this.getHTML_cbo_lst(),;
	m.this.cBaseClass == 'editbox',;
		m.this.getHTML_ebx(),;
	m.this.cBaseClass == 'image',;
		m.this.getHTML_img(),;
	m.this.cBaseClass == 'checkbox',;
		m.this.getHTML_chk(),;
	m.this.cBaseClass == 'spinner',;
		m.this.getHTML_spn(),;
	m.this.cBaseClass == 'optionbutton',;
		m.this.getHTML_opt(),;
	m.this.cBaseClass == 'shape',;
		m.this.getHTML_shp(),;
	m.this.cBaseClass == 'line',;
		m.this.getHTML_lin(),;
	m.this.cBaseClass == 'olecontrol',;
		ICase(;
			this.lOLEPDF(m.this.oControl),;
				m.this.getHTML_olePDF(m.tlInnerHTML),;
			this.lOLEIE(m.this.oControl),;
				m.this.getHTML_oleIE(m.tlInnerHTML),;
			this.lOLETV(m.this.oControl) and this.BSlHTMLgen,;
				m.this.getHTML_oleTV(m.tlInnerHTML),;
			Lower(m.this.oControl.OLEclass) = Lower('MSComctlLib.ImageListCtrl.2'),;
				.T.,;
				m.this.getHTML_ole(m.tlInnerHTML);
		),;
		.null.; && {fr} non supportée
	)

Thanks Thierry

Gravatar is a globally recognized avatar based on your email address. re: Problem with timer
  FoxInCloud Support - Thierry N.
  Vincent H.
  Jun 23, 2018 @ 11:09am

Thanks Vincent for posting this fix

© 1996-2024