sticky elements

Questions, tips and tricks and techniques for scripting in Servoy

sticky elements

Postby Ron » Thu Jun 05, 2003 11:16 pm

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.)
Ron
 
Posts: 315
Joined: Fri May 23, 2003 12:30 am
Location: Netherlands

Postby Jan Aleman » Fri Jun 06, 2003 12:15 am

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!
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Jan Aleman » Fri Jun 06, 2003 8:59 pm

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).
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth


Return to Methods

Who is online

Users browsing this forum: No registered users and 5 guests