Page 2 of 2 <12
Topic Options
#91020 - 2003-01-15 12:59 AM Re: KixForms DoEvents lock w/ mult forms
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I didn't see a form.hide there.

so, what is the actual place the second form hangs (sorry for me being dummy)

I see an chance for it to hang when it should go away.

that is why you didn't dim the form in the first place.

also, as you call that with "call" the 2 scripts use same variable space, thus the variables should be different...

it's a little bit long... so can't really debug it and seems that I can't reproduce your error either...
_________________________
!

download KiXnet

Top
#91021 - 2003-01-15 01:29 AM Re: KixForms DoEvents lock w/ mult forms
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hi Chef,

Well one thing that might not be helping matters too much is that in the "called" script, on the second form, theres a "double" make visible being performed ...

code:
$InvForm.Show
$InvForm.Visible = 1

Might just stick with the Show and see if that helps matters any.

-Shawn

Top
#91022 - 2003-01-15 01:59 PM Re: KixForms DoEvents lock w/ mult forms
The Chef Offline
Fresh Scripter

Registered: 2003-01-08
Posts: 23
Loc: New Jersey
Yeah, I realize that it redundant. The only reason it is there is because I was messing with the code trying to get it to work.. People keep thinking that I have code errors, but really, I honestly think that there is a glitch with KixForms somewhere. I am going to try and reproduce the problem again with shorter code and start a new thread.
Top
#91023 - 2003-01-15 02:02 PM Re: KixForms DoEvents lock w/ mult forms
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
If you are able to find a real bug within please post it over here at kixforms.org please [Big Grin]
_________________________



Top
#91024 - 2003-01-15 02:06 PM Re: KixForms DoEvents lock w/ mult forms
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Chef - I think your right too - think there is a bug in there somewhere. The only reason I mentioned the double shows is because when I tried your script here, the double shows locked-out the form, and when I removed the extra show, the form started working again. So yeah there is a bug somewhere.
Top
#91025 - 2003-01-15 03:00 PM Re: KixForms DoEvents lock w/ mult forms
The Chef Offline
Fresh Scripter

Registered: 2003-01-08
Posts: 23
Loc: New Jersey
Hey folks, I found my problem and it was my fault. Thanks Shawn, I was piling problems so my troubleshooting sucked. You were right about $InvForm.Show then Visible, that causes the form to lock, but the original form was being re-created by the small chunk of code that makes sure Kixforms.dll is properly registered.

I think I need to find some stuff to contribute now that people have tried to help me.

Top
#91026 - 2003-01-15 04:12 PM Re: KixForms DoEvents lock w/ mult forms
The Chef Offline
Fresh Scripter

Registered: 2003-01-08
Posts: 23
Loc: New Jersey
Oh yeah -- the other thing was I had to unregister KixGUI.dll. I really dont think anyone is following anymore.. but that was important.
Top
#91027 - 2003-01-15 04:17 PM Re: KixForms DoEvents lock w/ mult forms
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
I follow everything about kforms ... yeah, you're right ! They can't live side by side as they are quite similar in behaviour/and or registering/mehtods or something I dunno about (even kixbgi (by Shawn) and kforms(also by Shawn) can't be registered simultaneously)
_________________________



Top
Page 2 of 2 <12


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.059 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org