GetProperty of Checkbox on TAB?

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

GetProperty of Checkbox on TAB?

Post 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
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: GetProperty of Checkbox on TAB?

Post by serge_girard »

Got it!

It must simply be:


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


Serge
There's nothing you can do that can't be done...
Post Reply