Page 3 of 8 <12345>Last »
Topic Options
#86729 - 2002-07-14 07:02 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
added code which shows the slide only if minimized.
now, would want somehow to see if the window is not actually visible (due to some other window is over it) and set in min.
adding those got/lost focus stuff did hang my code...
maybe forgot something...
_________________________
!

download KiXnet

Top
#86730 - 2002-07-14 07:20 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, in the current release hiding and showing again somehow hangs the script.
searching for reason...
_________________________
!

download KiXnet

Top
#86731 - 2002-07-14 08:22 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn, could you check the current code?

it hangs after sliding.

I'm just "debugging" the stuff.
if I don't even hide the form it still hangs.
do I have to release the other form-object or what?
_________________________
!

download KiXnet

Top
#86732 - 2002-07-14 08:32 PM Re: bbChecker II - rc1
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
testing 123 ...
Top
#86733 - 2002-07-14 08:34 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
if I just change the top value, it stops responding for some seconds and then comes back.
but then it stops updating and it does not beep...
_________________________
!

download KiXnet

Top
#86734 - 2002-07-14 09:06 PM Re: bbChecker II - rc1
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
yep, think I know what it is, glad you found this ... the problem is that when you create a new window, and show it, the "parent" form (the first main form) gets "disabled" from receiving event input, the child form is called a MODAL dialog box. So the "show" works ok, but when you hide it again, the parent form isn't being re-enabled again - so it goes dead ...
Top
#86735 - 2002-07-14 09:10 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
fixable? or should I just create the modal form and destroy it?

I also wonder, when having this line:
if $beep beep ?"beeping" else ?"no beep set" sleep 0.5 endif

in the section of show.
it returns nicely to console:
beeping but no sound given...

so weird.
_________________________
!

download KiXnet

Top
#86736 - 2002-07-14 09:18 PM Re: bbChecker II - rc1
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel,
WKiX32 won't beep, only KiX32 will.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86737 - 2002-07-14 09:19 PM Re: bbChecker II - rc1
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I personally would modify your slide() function to create a slider, then show-and-slide, then hide and destroy ... just like your Setting box. Noticed you didn't DIM local all your settings controls in your misc() function, like this:

dim $f,$fp,$fpt,$fo,$fb,$fl

-Shawn

[ 14 July 2002, 21:20: Message edited by: Shawn ]

Top
#86738 - 2002-07-14 09:21 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no, don't like dims...
unless there is a interference, it shouldn't matter.
_________________________
!

download KiXnet

Top
#86739 - 2002-07-14 09:26 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, thanks for the info...

doing go around.
_________________________
!

download KiXnet

Top
#86740 - 2002-07-14 09:27 PM Re: bbChecker II - rc1
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel, If you want beeps, output the bel char(7).
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86741 - 2002-07-14 09:37 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I did a play "256t1d500f"
_________________________
!

download KiXnet

Top
#86742 - 2002-07-14 09:41 PM Re: bbChecker II - rc1
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Chr(7) is louder and longer. Identical to that of beep.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#86743 - 2002-07-14 09:55 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
louder... [Big Grin]

I actually wanted it to be short.
and as silent as possible.
the point is to say pong not wake your naberhood.
_________________________
!

download KiXnet

Top
#86744 - 2002-07-15 01:49 AM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok...
shawn, got that one overridden but now it somehow hangs itself after executing nicely 30-60 minutes.

have to see if it's about your code or the http-stuff...
_________________________
!

download KiXnet

Top
#86745 - 2002-07-15 03:36 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k,
it's about the form.
will make more pure modulelizing with dims and stuff...

sometimes (in an hour or so) after slide it stops responding.
it still updates itself but it does not accept any events. nor I get it to show the window. [Frown]
_________________________
!

download KiXnet

Top
#86746 - 2002-07-15 03:46 PM Re: bbChecker II - rc1
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
yap - probably should dim form and controls as local to udf - it really does help, when the UDF terminates and goes out-of-scope, it cleanly destroys all objects - no "orphaned" controls are created, which is a bad thing.

ps. think i found-out why that slider (dimmed global) wasn't working - has to do with that hasty SHOW(n) feature we added. didn't properly handle the case of show(0) (hide) ... don't have your code handy, but I think you were using that, no ?

[ 15 July 2002, 15:47: Message edited by: Shawn ]

Top
#86747 - 2002-07-15 03:52 PM Re: bbChecker II - rc1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I turned to visible=0/1
as it had worked before...
_________________________
!

download KiXnet

Top
#86748 - 2002-07-15 04:48 PM Re: bbChecker II - rc1
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Lonk,

You have taken off like a rocket!

You were behind me in posts.. Now, look where you are at. [Frown] [Frown] [Frown]

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 3 of 8 <12345>Last »


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

Who's Online
0 registered and 373 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.078 seconds in which 0.026 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