Page 1 of 1

GetProperty of Checkbox on TAB?

Posted: Wed Aug 28, 2013 1:05 pm
by serge_girard
Hello All,

I have a form with a TAB and on the first tab there are some checkboxes.

I tried to capture the values but unsuccesfull:

Code: Select all

FOR A = 1 TO LEN(aARR)
	cCh	:= 'L_' + ALLTRIM(STR(A))         // names of the checkboxes
	lCh	:= GetProperty('Form_1', 'Tab_1', cCh, 'Value(1)')
  	//lCh	:= GetProperty('Form_1', 'Tab_1(1)', cCh, 'Value') // Error BASE/1001 Undefined function: _FORM_1_TAB_1

	IF lCh     // undefined
		msginfo(STR(A) + ' CEHCKED'  , '')
	ENDIF

NEXT A
Anybody knows what is the right syntax?

Greetings & Thanks,

Serge

Re: GetProperty of Checkbox on TAB?

Posted: Wed Aug 28, 2013 1:31 pm
by serge_girard
Got it!

It must simply be:


lCh := GetProperty('Form_1', cCh, 'Value')


Serge