KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Development build 45 gives the Captain a real hard time ...

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Tue May 25, 2004 9:12 am    Post subject: Development build 45 gives the Captain a real hard time ... Reply with quote

at first testing it seems to happen that you have changed virtually everything about labels Head Hurts

Kixtris now looks and behaves weird...
What happened to the backwards compatibility manifesto ?`
Will I have to release new versions after next official kf release ???


Tired

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.


Last edited by Jochen on Tue May 25, 2004 9:37 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Tue May 25, 2004 9:36 am    Post subject: Reply with quote

Well, if only we could keep the good olde ".BorderStyle = 5" I'd be satisfied Wink
_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Tue May 25, 2004 12:20 pm    Post subject: Reply with quote

You have a point, Cappy. Anything that changes backwards compatability should be considered a major release, not a minor build change. Wink
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Tue May 25, 2004 12:31 pm    Post subject: Reply with quote

hmmm, I don't see any mention of BorderStyle=5 in the CHM help file ... not sure where your getting your information from, its as if you have inside knowledge my friend .... ;0)

Seriously, this is why i'm pushing this out as a development build and not as a release candidate, to work out all these incompatibility issues - like i said, the Label in 45 is a totally new and different control ...

In the short-term, for the label, I made BorderStyle=2 exactly the same as BorderStyle=5 many, many moons ago Wink
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Tue May 25, 2004 1:21 pm    Post subject: Reply with quote

dang,

i meant 3 not 5 (feel like being part of MPs holy grail actually: 'and thy number shall be 3' Rolling Eyes )

lookie :



Code:
break on

$form = createobject("kixtart.form")
$form.BackColor = 'black'

$label1 = $form.Controls.Label("BS=2",10,10,40,40)
$label1.BackColor = "red"
$label1.BorderStyle = 2

$label2 = $form.Controls.Label("BS=3",80,10,40,40)
$label2.BackColor = "red"
$label2.BorderStyle = 3


$Form.Center
$Form.Show

While $Form.Visible
  $=Execute($Form.DoEvents())
Loop
Exit 1



run that with build 44 and you'll see what I mean Rolling Eyes

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Tue May 25, 2004 3:19 pm    Post subject: Reply with quote

Captain,

I "fixed" the label undocumented border styles in the current development build - give them a try, but I am still not documenting them ... ;0)

-Shawn
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed May 26, 2004 6:32 am    Post subject: Reply with quote

Weee Very Happy

now that looks better, thanx.

Still, there is a problem with especially KiXtris ... it pauses unmotivated during gameplay (Keystrokes)

Think the OnLostFocus event here:

$lblLines.OnLostFocus = "Game_Pause($$GamePaused,1)"

is causing this Crying or Very sad

[edit: further tests proof that the game acts completely random Stunned Stupid, when unpausing and continuing game for some time it works, then it continues to pause it again at OnKeyDown ... even then after some more time it seems that OnClick events are triggered for the toolbuttons]

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed May 26, 2004 6:51 am    Post subject: Reply with quote

Shawn wrote:
In the short-term, for the label, I made BorderStyle=2 exactly the same as BorderStyle=5 many, many moons ago Wink


that may be true for RC2 and previous, but not dev build Wink

proof with the well known menu label :

Code:
break on

$form = createobject("kixtart.form")

$form.Menu            = $System.MainMenu()
$form.Menu.Style      = 1
$mnuFile              = $form.Menu.MenuItems.Add("File")

$lblMenu              = $form.Controls.Label()
$lblMenu.Location     = 1,0
$lblMenu.Size         = $form.Clientwidth-2,2
$lblMenu.BorderStyle  = 2

$Form.Center
$Form.Show

While $Form.Visible
  $=Execute($Form.DoEvents())
Loop
Exit 1


running with latest build you'll need to ammend the height to 4 to see what happened

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed May 26, 2004 12:15 pm    Post subject: Reply with quote

Try latest devleopment build (again) ...
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed May 26, 2004 12:59 pm    Post subject: Reply with quote

that fixes BorderStyle 2, good Smile

but the whacky focus behavior is still there... please don't ask me to reproduce this with a test scriptlet, I can't even tell what's going on there No No

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed May 26, 2004 1:10 pm    Post subject: Reply with quote

can you please reproduce this with a test script ;0) - whacky focus behavior with what, the label ?
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed May 26, 2004 1:17 pm    Post subject: Reply with quote

I think so ... I set focus on one of the labels in KiXtris to control pausing the game when one switch to another app.

Obviously the label looses focus randomly when pressing keys somehow ... I suggest that you should see yourself : KiXtris 1.01 Wink

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed Jul 14, 2004 12:45 pm    Post subject: Reply with quote

hey Shawn,

for the case that you miss the test scriptlet here : http://www.kixforms.org/forum/viewtopic.php?t=538 (first reply)

The cause for this is that in the devel build the labels are loosing focus when arrowkeys are hit Rolling Eyes

Any comments on this ?

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Jul 14, 2004 10:22 pm    Post subject: Reply with quote

Hey cappy, your right - this has been fixed. Will be posting the latest dev. build tonight (tomorrow your time ;0) )

-Shawn
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Jul 15, 2004 8:52 am    Post subject: Reply with quote

I must admit that I love ya Cunning
_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group