set the backgroundpattern error
Posted: Sat Dec 06, 2014 4:20 pm
i have a datagrid with 2 labels and 1 graphic (form)
i am using the switch to filter the data i get something like bellow
i want to change the graphic pattern of the rectangle that i have in the form so i try the bellow
but always i get error
execution error at line 4 (Object: can't set object property), char 2
what i do wrong here?
i am using the switch to filter the data i get something like bellow
Code: Select all
case "Liqueurs"
put revQueryDatabase(sConnID,"SELECT rowid FROM datadrinks where cat like 'liq%' ") into sCursorID
break
case "noalco"
put revQueryDatabase(sConnID,"SELECT rowid FROM datadrinks where cat like 'Non%' ") into sCursorID
break
Code: Select all
set the backgroundpattern of graphic id 1068 of group id "1012" of card id 1011 of stack "Data Grid Templates 1417794119370" to image id 1053 of card id 1002 of stack "images"
execution error at line 4 (Object: can't set object property), char 2
what i do wrong here?