Hi All
I had set the following property in the datagrid
set the dgprop["right swipe control"] of group "DataGridClient" to empty
Then I set the following property try to reset it to default one
set the dgprop["right swipe control"] of group "DataGridClient" to group id 1023 of card id 1002
But it fail, with return error "Can not find background"
How can I reset the datagrid to his orginal property?
Regards
Terry Ho
reset datagrid swipe right property
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: reset datagrid swipe right property
Hi Terry,
try using BACKGROUND (bg) instead of group:
Best
Klaus
try using BACKGROUND (bg) instead of group:
Code: Select all
set the dgprop["right swipe control"] of group "DataGridClient" to bg id 1023
Klaus
Re: reset datagrid swipe right property
Hi Klaus
Thanks your advice. But still get the same error : Can't find background
Regards
Terry Ho
Thanks your advice. But still get the same error : Can't find background
Regards
Terry Ho
Re: reset datagrid swipe right property
Hi Terry,
maybe LC exspects just an image or SVG widget and not a group at all?
And the dictionary says that we need to provide "the long ID of <control>"
At least worth a try.
Best
Klaus
maybe LC exspects just an image or SVG widget and not a group at all?
And the dictionary says that we need to provide "the long ID of <control>"
At least worth a try.
Best
Klaus
Re: reset datagrid swipe right property
Hi Klaus,
Thanks your advice. But still fail.
I had try the following in another datagrid :
answer the dgprops["right swipe control"] of group "DataGridProduct"
it return -> group "DataGridClient" to group id 1023 of card id 1002 of "Data Grid Templates 1533989635283"
Which I use it on my datagrid, but it fail again.
May be I need to make a simple and report to it has a bug in livecode quality
Regards
Terry Ho
Thanks your advice. But still fail.
I had try the following in another datagrid :
answer the dgprops["right swipe control"] of group "DataGridProduct"
it return -> group "DataGridClient" to group id 1023 of card id 1002 of "Data Grid Templates 1533989635283"
Which I use it on my datagrid, but it fail again.
May be I need to make a simple and report to it has a bug in livecode quality
Regards
Terry Ho