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!
Page 1 of 1

PostPosted: Mon Dec 04, 2006 11:31 pm
by RWB
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

PostPosted: Tue Dec 05, 2006 12:46 am
by sangahm
<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?

PostPosted: Tue Dec 05, 2006 1:36 pm
by RWB
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

PostPosted: Tue Dec 05, 2006 8:49 pm
by FrankG
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

PostPosted: Wed Dec 06, 2006 1:40 am
by RWB
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

PostPosted: Wed Dec 06, 2006 6:00 am
by mlambrigger
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

PostPosted: Wed Dec 06, 2006 9:31 pm
by dewey
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.