
Announcements
Hello,
I have a runtime error when calling Select(Gallery) from a button.
Sadly the error is not in English, but it basically says "Select cannot be called from one control to another control if they are on the same container" (or at least as I understand it)
My goal is to have a "New" button to insert a new entry in the database, and have the gallery refresh and select that new entry.
UpdateContext({ waitMode:true });;
Set(RuneGalleryDefault;
Patch('Shrine Runes'; Defaults('Shrine Runes');
{
Name: "NewItem";
}));;
Select(MainGallery);;
UpdateContext({ waitMode:false });;
What can I do to have the gallery select the new item ?
Thanks!