Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - Closing a form. uilist remain open!

Closing a form. uilist remain open!

Discuss OrbForms Designer and PocketC Architect

Postby RWB on Mon Dec 04, 2006 11:31 pm

Hi friends.
When I close a form, with myform.close();

one uiobject(uilist) on that form, still remain open and will not be deleted with the form!

Bug?





RWB
RWB
RWB
 
Posts: 28
Joined: Fri Feb 10, 2006 12:43 pm
Location: Sweden

Postby sangahm on Tue Dec 05, 2006 12:46 am

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by RWB</i>
<br />Hi friends.
When I close a form, with myform.close();

one uiobject(uilist) on that form, still remain open and will not be deleted with the form!
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

How are you verifying that it's still open? Are you getting some type of error, or are you still able to read the data elements?
sangahm
 
Posts: 118
Joined: Mon Jul 04, 2005 3:43 pm
Location: USA

Postby RWB on Tue Dec 05, 2006 1:36 pm

No,there is no error.

The uilist is not readeable ,just visible with all the items.

I can't read the data elements but,the ulist with the items are visible on my mainform after closing form2.

On my form2, I have 3 buttons 1 field and 1 uilist.

Every uiobjects but the uilist, deletes/hides ,when closing the form!

Bug?:evil:

RWB
RWB
RWB
 
Posts: 28
Joined: Fri Feb 10, 2006 12:43 pm
Location: Sweden

Postby FrankG on Tue Dec 05, 2006 8:49 pm

I don't think I ever close forms. I tend to load other ones. The load causes the current one to close and the new one loading redraws the screen.

Frank
FrankG
 
Posts: 210
Joined: Thu Jan 23, 2003 7:58 pm

Postby RWB on Wed Dec 06, 2006 1:40 am

Hi Frank.I can't use mainform.load(); because ,then I have to reload all the data that appear on my mainform.

The problem seems to be when the uilist have some items!

If there is no items in the uilist ,then the uilist dissapear as it should when I closing myform2 but, when I got an item in the uilist it won't dissapear when closing the myform2!

I loaded some items :
handler myform2.onopen(){
//items loaded here to the uilist everytime myform2 opens.
}

and when I use myform2.close(); it don't close the uilist because it been loaded in handler myform2.open() !!!

myform2.close should take care of this buisness,i think.

Jeremy might have a solution



RWB
RWB
RWB
 
Posts: 28
Joined: Fri Feb 10, 2006 12:43 pm
Location: Sweden

Postby mlambrigger on Wed Dec 06, 2006 6:00 am

As I've seen, there is some graphical problems with some control. I think you just need to redraw your mainForm:

This is in the Event object in the help file:
<b>int code:</b>
<i>The form redraw code specified in the call to UIForm.redraw(). If the form is being redrawn by the system, code is 0x8000</i>

So try to do in your mainform:
Code: Select all
mainForm.redraw(0x8000);


Marc Lambrigger
Marc Lambrigger
mlambrigger
 
Posts: 113
Joined: Fri Feb 13, 2004 11:07 am
Location: Switzerland

Postby dewey on Wed Dec 06, 2006 9:31 pm

This can happen if you cause the list to be drawn in the onopen handler of the form. What happens is that the list is drawn before the form opens. Just before the form opens, the OS takes a snapshot of the pixels beneath the form so that it can redraw them quickly when the form is closed. When the form is closed, it repaints the snapshot which erroneously contains the list.
dewey
Site Admin
 
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am


Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 1 guest

cron