#87749 - 2002-09-15 01:50 AM
Re: BBChecker II - Update - Continued
|
MightyR1
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
|
|
|
|
#87752 - 2002-09-15 02:53 AM
Re: BBChecker II - Update - Continued
|
Lonkero
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
|
|
|
|
#87762 - 2002-09-15 11:24 PM
Re: BBChecker II - Update - Continued
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
tsk tsk
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
1 registered
(Allen)
and 343 anonymous users online.
|
|
|