Source language: Translate to:

Creating plugin objects fails when invisible on page1

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Creating plugin objects fails when invisible on page1

Postby HPW » Thu Aug 09, 2007 6:32 am

Reported here:

http://www.neosoftware.com/forum/viewto ... &start=195

Creating plugin objects on a masterpage-rectangle, fails when the masterpage is set to invisible on page1. Invisible on other page seems not to be a problem.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Neosoft Support » Thu Aug 09, 2007 2:47 pm

That's an interesting problem. I'll make sure this is on the list of things to look into for the next update. In the mean time, I'm afraid you will have to avoid attaching components to hidden master page rectangles.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby HPW » Sun Aug 12, 2007 4:13 am

I have now a similar problem with re-creating objects on other pages.

I have a config page where I configure the app.
Depending on the choices there, I create objects (tested with ImgCombo's) on other pages.
When I do this the first time and visit the target page they show up properly.
Then I configure something different on the config-page, resulting that I remove the now unused object.
Then I reconfigure that first option, so they gets created new.
But now on the first visit on the target page the object does not show and only the rectangles are visible.
Clicking on the object show them back again and the behave as usual.
Also a page-change away and back makes all objects show up again.

I have tried a 'RefrechObject' onPageEnter but no luck.
I also test a 'Repaint' in WMNotifyPlugIn on page-enter but also no luck.

For now I leave the unused object in memory and reuse them on the second attempt.
But in bigger apps it may be better to keep the object-count as small as possible.
Last edited by HPW on Mon Aug 13, 2007 12:55 am, edited 1 time in total.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Horst Helfen » Mon Aug 13, 2007 12:22 am

licking on the object show them back again and the behave as usual.

It's strongly recommended to clean the screen before licking any objects on it to avoid a black tongue! :mrgreen:
Horst Helfen

Programmers don't die, they just GOSUB without RETURN.
User avatar
Horst Helfen
 
Posts: 100
Joined: Thu May 05, 2005 4:11 am
Location: Hamburg, Germany

Postby HPW » Mon Aug 13, 2007 12:59 am

Oops, and the screen will not taste well!

PS: Can you recognize a neobooker from his black tongue!

:lol:
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany


Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest