#90084 - 2002-12-02 09:41 AM
Re: tabstop/setfocus/enabled - kixforms button weirdness
|
Lonkero
KiX Master Guru
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
ok, I still think the forms layout calculator is little wrong as normally need 5 adjusting pixels in the width. anyway, here is something:
code:
$=createobject("kixtart.form") $.size=80,120 $.center $notab=$.button("please, no tab",5,10,70,20) $notab.tabstop=0 $notab.onmouseup="$$second.setfocus" $second=$.button("second",5,40,70,20) $exit=$.button("exit",5,70,70,20) $exit.onclick="$$.hide" $exit.defaul=1 $.show while $.visible $nul=execute($.doevents) loop
there is no way you can remove the black border around the notab button once you have clicked it.
and btw, rod/shawn, documentation on the tabstop in: http://www.kixforms.freeuk.com/Docs/Properties/tabstop.htm
is wrong.
_________________________
!download KiXnet
|
Top
|
|
|
|
#90085 - 2002-12-02 09:58 AM
Re: tabstop/setfocus/enabled - kixforms button weirdness
|
Lonkero
KiX Master Guru
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
got it, the old style. was going to shower (that is place for all inventions)
so:
code:
$=createobject("kixtart.form") $.size=80,120 $.center $notab=$.button("please, no tab",5,10,70,20) $notab.tabstop=0 $notab.onmouseup="$$nul=sendkeys('{tab}')" $second=$.button("second",5,40,70,20) $exit=$.button("exit",5,70,70,20) $exit.onclick="$$.hide" $exit.defaul=1 $.show while $.visible $nul=execute($.doevents) loop
_________________________
!download KiXnet
|
Top
|
|
|
|
#90088 - 2002-12-02 10:08 AM
Re: tabstop/setfocus/enabled - kixforms button weirdness
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
is that what you wanted it to be =?
code:
break on
$=createobject("kixtart.form") $.size=80,120 $.center $notab=$.button("please, no tab",5,10,70,20) $notab.tabstop=0 $notab.onmouseOver="$$second.SetFocus" $second=$.button("second",5,40,70,20) $exit=$.button("exit",5,70,70,20) $exit.onclick="$$.hide" $exit.defaul=1 $.show while $.visible $nul=execute($.doevents) loop
quit ()
_________________________
|
Top
|
|
|
|
#90089 - 2002-12-02 10:12 AM
Re: tabstop/setfocus/enabled - kixforms button weirdness
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
weirdo :
code:
break on
$=createobject("kixtart.form") $.size=80,120 $.center $notab=$.button("please, no tab",5,10,70,20) $notab.tabstop=0 $notab.OnClick="$$second.SetFocus $$second.Default = 1" $second=$.button("second",5,40,70,20) $exit=$.button("exit",5,70,70,20) $exit.onclick="$$.hide" $exit.defaul=1 $.show while $.visible $nul=execute($.doevents) loop
quit ()
_________________________
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
2 registered
(morganw, mole)
and 414 anonymous users online.
|
|
|