Page 1 of 1

sticky elements

PostPosted: Thu Jun 05, 2003 11:16 pm
by Ron
I was messing with disappearing buttons, very nice feature BTW.
So I made some buttons, filled out the property name, and found out
they were not appearing in the elements-tree.. holy s....
Suddenly I discovered the refresh button, and this seemed to work.

Q1: Is this button also necessary whenever the editor needs to be opened, why not autorefresh? I understand the refresh mode might be necesary if the editor is hidden and a new element is created.

Q2: After deleting an element from the form it still appears in the tree.
Refreshing does not work here. The only way to remove them is rebooting.
They seem to be a bit sticky...

(BTW: this happens in 1.1.)

PostPosted: Fri Jun 06, 2003 12:15 am
by Jan Aleman
Q1: Is this button also necessary whenever the editor needs to be opened, why not autorefresh? I understand the refresh mode might be necesary if the editor is hidden and a new element is created.

I understood from the dev team that that is rather complicated because designer runs in a separate window and things are not final until you leave designer (go to browse). If you would go to browse you'll notice that the tree updates.

Q2 appears to be a bug, I've forwarded it to the devteam

Thanks for testing!

PostPosted: Fri Jun 06, 2003 8:59 pm
by Jan Aleman
I just understood that if you delete an item you must exit designer in order for the methods tree to update correctly. Until you leave designer the element is not actually deleted (comitted to the backend).