Page 2 of 4 <1234>
Topic Options
#88036 - 2002-09-18 02:10 PM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
what about showintaskbar?

it actually does something weird and has done as far as I know.

you know, I make the slider to start from top of the taskbar and end when it gets above it.

well, it increases about 20-40 pixels too much...

[ 18. September 2002, 14:12: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#88037 - 2002-09-18 02:14 PM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
I'm getting dizzy now...

Going home. Maybe try later this evening.
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88038 - 2002-09-18 02:18 PM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
ok, current build (1.2.8) seems to work as well as did 1.1.1 and it is fully ready for by forum lists...

maybe should move the show todays topics...

to keep the form height in reasonable limits...
_________________________
!

download KiXnet

Top
#88039 - 2002-09-18 02:25 PM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey guys,

Im @ work right now and can't run BBChecker here (never could [Frown] ) anyways ... whazaby with this ... can anyone reproduce this with a little test script ? Its kinda tough to track these things down with a big script that has dependencies, etc ... you know what I mean.

Top
#88040 - 2002-09-18 02:30 PM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
oh boy...
well, as it's only slider, it's not big script...
wait a sec...
code:
	$t = $p.screen.height-taskbar()
$d = 1
$p = CreateObject("Kixtart.Form")
$p.BorderStyle = 0
$p.Height = 22
$p.Width = 300
$p.fontsize = 10
$p.fontname = "helvetica"
$p.forecolor = 0
$p.fontbold = 1
$p.BorderStyle = 1
$p.backcolor = $p.RGB(255,255,0)
$p.Top = $t
$p.Left = $p.screen.width-760
$p.ShowInTaskbar = 0
$l = $p.hyperlink("$sc",2,2,296,18)
$l.Backcolor = $p.RGB(255,255,0)
$l.value = $scv
$c = $p.Timer(20)
$c.OnTimer = "
If $$d=1
$$p.Top=$$p.Top-1
If $$p.top<($$t-40)
$$c.Interval=3000
$$d=0
EndIf
Else
if $$d=2
$$c.Interval=20
$$p.Top=$$p.Top + 1
If $$p.top>$$t
$$c.Enabled=0
$$p.Hide
EndIf
else $$d=2
endif
EndIf
"
$p.Show
$p.TopMost = 1
While $p.Visible
$=Execute($p.DoEvents)
Loop
exit 0

Function TaskBar()
If @dos=="4.0" $_S="StuckRects" Else $_S="StuckRects2" EndIf
$TaskBar=Val("&"+SubStr(ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\$_S","settings"),41,2))
EndFunction

_________________________
!

download KiXnet

Top
#88041 - 2002-09-18 11:40 PM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Shawn,

did something change in the Borderstyle thingie?

On the KixForms site the latest news mentions a revised Borderstyle...

Is it possible to add a value for the form which makes the form appear with no titlebar and a 1-pixel border???
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88042 - 2002-09-19 12:06 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
hmmm - yeah - just did a quick code chnage to forms and was able to achieve a "borderless" form (no title bar or windows borders) but has a thin one pixel "line" around all for corners - very nice ... how we going to integrate that into the interface though - vb,vba and .net don't have a property for that (i think) - mostly it would be custom draw stuff.
Top
#88043 - 2002-09-19 12:52 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Guess we could just default the borderless form to that (thinline) ... hmmm ... then maybe implement the BorderColor property - and if we wanted to "hide" the thinline border, say this (?):

$Form.BorderStyle = 0
$Form.BorderColor = $Form.BackColor

guess the problem is that BorderStyle = 0 sort of implies that there is no border - thin, thick or otherwise - hmmm ...

Top
#88044 - 2002-09-19 12:59 AM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Shawn,

So the values for the form.borderstyle are equal to vb etc, am I right?

What about the other.borderstyles?

the other.borderstyle has a value (1) for 1-pixel border...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88045 - 2002-09-19 01:02 AM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Jooel,

does your slider steal focus??? Mine does...

Isn't the only workaround putting the slider back in the checker? AAARRGHH [Mad]
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88046 - 2002-09-19 01:07 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I tried to make BorderStyle identical with VB's version ... but "extended" it for controls to support those funky "sunken", "raised" and "framed" styles. Yeah - BorderStyle for Forms and for Controls has different meanings ... just like in VB. One can't specify a "sunken" form.
Top
#88047 - 2002-09-19 01:10 AM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Shawn,

Thnx for making it clear.

For now i just use borderstyle=0 for the form and 1 for a label which I put over the form (same size)...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88048 - 2002-09-19 01:23 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Is your form going to change size at all ? Are you going to putting controls on your form ?
Top
#88049 - 2002-09-19 01:30 AM Re: devel of new checker
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
I'm playing around with a slider for myself:

code:
Break on 

$runie = "run '"+ReadValue("HKEY_CLASSES_ROOT\htmlfile\shell\open\command","")+" "

$d = 1
$h = 22
$h1 = 18
$w = 300
;$t=700
$p = CreateObject("Kixtart.Form")
$p.height = 0
$p.width = $w + 6
$p.fontsize = 10
$p.fontname = "helvetica"
$p.forecolor = 0
$p.fontbold = 0
$p.BorderStyle = 0
$p.backcolor = $p.RGB(255,255,0)
$p.Top = $t
$p.Left = $p.screen.width-$p.width-20
$p.minbutton=0
$p.maxbutton=0

;$q = $p.label("",0,0,$p.width,3*$h1+3)
;$q.backcolor=$p.rgb(255,255,0)
;$q.borderstyle=1
$poplabel = $p.label($sc,4,2+$h1/2,$w-2,2*$h1)
$poplabel.backcolor = $p.rgb(255,255,0)
$poplabel.borderstyle = 0
$poplabel.alignment = 2
$p.onmousemove="$$poplabel.fontbold=0 $$poplabel.fontunderline=0"
$poplabel.onmousemove="$$poplabel.fontbold=0 $$poplabel.fontunderline=1"
$poplabel.onmouseup="$runie "+Chr(34)+$scv+Chr(34)+"' sleep 0.5 $$p.visible=0 "

$c = $p.Timer(20)
$c.OnTimer = "
If $$d=1
$$p.Top=$$p.Top - 1
$$p.height=$$p.Height+1
If $$p.top<($$t-3*$h1)
$$c.Interval=3000
$$d=0
EndIf
Else
If $$d=2
$$c.Interval=20
$$p.Top=$$p.Top + 1
$$p.height=$$p.Height-1
If $$p.top>$$t
$$c.Enabled=0
$$p.Hide
EndIf
Else
$$d=2
EndIf
EndIf
"
$p.height=0
$p.ShowInTaskbar = NOT 1
$p.Show
$p.ShowInTaskbar = NOT 1
$p.TopMost = 1

While $p.Visible
$=Execute($p.DoEvents)
Loop

If I enable the q label, I can't click the link in the slider...

- - Me is missing something - -
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#88050 - 2002-09-19 01:36 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Why don't you just draw a thin border around the inside of the form using the LINE method ? Chris's original POPUP.KIX script has the algorithm for doing that.
Top
#88051 - 2002-09-19 06:53 AM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
so, shawn....
quess once what I want?

a slider, or popup object that does not require creating another form.

I've noticed the same as patrick, if I put the slider to run simultaneously, the form does not hang but it steels focus.

if I then put the slider into the main process, it does not steal focus but it hangs the main form. [Confused]
 
_________________________
!

download KiXnet

Top
#88052 - 2002-09-19 06:58 AM Re: devel of new checker
Kdyer Offline
KiX Supporter
*****

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

Question..

With this newer version, at home I see colored hyperlinks.. At work, all black text.

Why is that?

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

Top
#88053 - 2002-09-19 07:11 AM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
well, only thing I can think of that you don't have kixforms 2.0.5 properly installed.

the hyperlinks come from there and their colors.

also, you may still have at home the older checker which had my own made hyperlinks... the 2.0 or something.
those were just black test, which behaved like hyperlinks... you know, catching the events onmouseover and onclick...
_________________________
!

download KiXnet

Top
#88054 - 2002-09-19 07:28 AM Re: devel of new checker
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
HyperLink pulls its default color settings from here:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Settings

Wha u got 4 that ?

-Shawn

Top
#88055 - 2002-09-19 08:01 AM Re: devel of new checker
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22298
Loc: OK
shawn, shouldn't you be in bed or something?

anyway, patrick, the parser does not function correctly for the page stuff...

will fix it tonight. will also include the slider back to the main process but will keep it out of the script file... just call it makes it easier to update... you know, just the peace...

 
_________________________
!

download KiXnet

Top
Page 2 of 4 <1234>


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

Who's Online
0 registered and 162 anonymous users online.
Newest Members
EricMyers, siddharthinfosy, raynebc, MasterNinjaSkar, hienttt
17516 Registered Users

Generated in 0.098 seconds in which 0.023 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