Page 4 of 4 <1234
Topic Options
#87746 - 2002-09-15 01:44 AM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I still have hard time to buy this...

as I get only success on the hyperlink in the main form. only the slider shows up wrong.
_________________________
!

download KiXnet

Top
#87747 - 2002-09-15 01:45 AM Re: BBChecker II - Update - Continued
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Found something else....

See what happens if you double the height of the hyperlink...

All text is visible!!!!!!!!!

So why is it wrapped??????
_________________________
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
#87748 - 2002-09-15 01:47 AM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
could it count the length somehow wrong?
or is there default max-length?
_________________________
!

download KiXnet

Top
#87749 - 2002-09-15 01:50 AM Re: BBChecker II - Update - Continued
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Updated test script:

code:
Break ON
$m = CreateObject("kixtart.form")
$m.caption = "Test .hyperlink object"
$m.width = 800
$m.height = 200
$m.top=($m.screen.height - $m.height) / 2
$m.Left = ($m.screen.width - $m.width) / 2
$m.borderstyle = 1
$m.fontsize = 8
$m.fontname = "helvetica"
$m.forecolor = 0
$m.fontbold = 0
$m.visible = 1
$x="Hover over a hyperlink to see a tooltip. Notice the tooltip contains the full string!!!"
$label = $m.label($x,15,2,750,30)
$x = "LABEL: 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
$msg = $m.hyperlink($x,15,42,750,30)
$x = "URL: This_is_a_very_long_text_without_any_spaces_in_it_to_test_the_.hyperlink_object._As_you_can_see_it_is_able_to_use_a_long_text_as_long_as_there_are_no_spaces_in_it..."
$msg1 = $m.hyperlink($x,15,82,750,30)
$x = "URL: 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
$msg2 = $m.hyperlink($x,15,122,750,30)
$msg2.caption = $x
While $m.visible
$=Execute($m.doevents)
Loop
Exit 0

_________________________
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
#87750 - 2002-09-15 02:45 AM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
pat, on that shortcut issue, I have come up with two workarounds...

1) copy the icon-file to windir and use it from there
2) assume, "program files" or what ever it is, is the ~1 in the folder... not ~2. leading to stripping and finally "c:\progra~1\"

I think I'll go with the second one even though it's not so secure, but will not create carbage on the systemroot...
_________________________
!

download KiXnet

Top
#87751 - 2002-09-15 02:50 AM Re: BBChecker II - Update - Continued
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Ill have a look at the HyperLink constructor
later tonight ... i think, based on what i've
seen so far, is that the only thing that is
broke is the contructor, right ?

Top
#87752 - 2002-09-15 02:53 AM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn, can't be sure...
anyway, seems so.

patrick, I think this is the outcome. not neat but working one:
code:
Break On
$dir="C:\Documents and Settings\lonkero.domain\Työpöytä\KiXforms\BBChecker\"
$dir=split($dir,"\")
for $=0 to ubound($dir)
if instr($dir[$]," ") $dir[$]=left($dir[$],6)+"~1" endif
next
$dir=join($dir,"\")
$=DELPROGRAMGROUP("bbChecker")
$=ADDPROGRAMGROUP("bbChecker")
$=SHOWPROGRAMGROUP("bbChecker", 5)
$=ADDPROGRAMITEM('"$dir'+'wkix32" bbCheckerII.kix',"bbChecker II",$dir+"\bb.ico",0,"$dir",0,0,0)

_________________________
!

download KiXnet

Top
#87753 - 2002-09-15 03:13 AM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, this is all changes together and seems even working. even uninstall is neat...
get it at: http://www.gwspikval.com/jooel/scripts/bbChecker/BBCheckerII_1.1_rc4.exe

I don't make it final before I see the 2.0.5 coming out.
_________________________
!

download KiXnet

Top
#87754 - 2002-09-15 02:12 PM Re: BBChecker II - Update - Continued
MightyR1 Offline
MM club member
*****

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

I thought of your second solution too but I too couldn't find an easy solution to the ~2 problem...

Maybe we could check for other existing program~ directories (with dir) and if they exist skip the icon to be sure???
_________________________
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
#87755 - 2002-09-15 02:17 PM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, it should actually be that the names come from the time, the dirs are created. this meaning that programfiles-folder is created first as it's created at install time.
so, only time it can be ~2 in theory is that if user install system to %systemdrive%\programdir or similar...
_________________________
!

download KiXnet

Top
#87756 - 2002-09-15 02:29 PM Re: BBChecker II - Update - Continued
MightyR1 Offline
MM club member
*****

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

But I was looking in the future, making a UDF for other dirs....
_________________________
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
#87757 - 2002-09-15 02:43 PM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, I don't know is this bug in checker or in the new kix beta...

I'll put also 4.11 to run the same script simultaneously to see is the flaw in my script...
_________________________
!

download KiXnet

Top
#87758 - 2002-09-15 03:58 PM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
alright, I get the same "bug" with 4.11...
is there a known issue with 2.0.3 event handling?

I occassionally get events shown also at console.
now after short time run (1hour 13min), console window shows:
update()$f.hide

don't know where they come from...
_________________________
!

download KiXnet

Top
#87759 - 2002-09-15 10:30 PM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
just found out weird thing, hyperlinks caption (the text) in checker seems to be changed, but leaving the mouse over it, you see the tooltip:
"loading elements..."

so, there surely seems to be something wrong in the hyperlink...
_________________________
!

download KiXnet

Top
#87760 - 2002-09-15 11:00 PM Re: BBChecker II - Update - Continued
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Jooel - i've made some changes to the good olde
HyperLink object ... new release will be issued
very shortly - just syncing-up with Rod on the
forms site ... will be opening-up a seperate
thread to discuss.

[ 15. September 2002, 23:01: Message edited by: Shawn ]

Top
#87761 - 2002-09-15 11:10 PM Re: BBChecker II - Update - Continued
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, eh...
It seems that I already downloaded it...
_________________________
!

download KiXnet

Top
#87762 - 2002-09-15 11:24 PM Re: BBChecker II - Update - Continued
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
tsk tsk [Wink]
Top
Page 4 of 4 <1234


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

Who's Online
1 registered (Allen) and 457 anonymous users online.
Newest Members
MaikSimon, kvn317, kixtarts2025, SERoyalty, mytar
17872 Registered Users

Generated in 0.158 seconds in which 0.088 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