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

Event onlostfocus is triggered when the control gets focus

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


Joined: 06 Oct 2003
Posts: 56
Location: Netherlands

PostPosted: Mon Oct 06, 2003 8:43 pm    Post subject: Event onlostfocus is triggered when the control gets focus Reply with quote

When the combobox gets focus the onlostfocus event is triggered.
See the following Kixlet:

Code:

$Form = createobject ("kixtart.form")
$Form.center
$combobox1 = $Form.controls.combobox ("", 50, 50, 200, 100)
$combobox1.list = "1"
$combobox1.onlostfocus = "message('combobox1 lost focus')"
$combobox2 = $Form.combobox ("", 50, 100, 200, 100)
$combobox2.list = "2"
$combobox2.onlostfocus = "message('combobox2 lost focus')"
$Form.show
while $Form.Visible
   $=Execute($Form.DoEvents())
Loop
function message($message)
   $ = $form.messagebox ("$message", "", 128)
endfunction


When using the mouse to give another combobox the focus no events are triggered exept when the pulldown list is used.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Tue Oct 07, 2003 8:06 pm    Post subject: Reply with quote

Bert, thanks for taking the time to report these, had a quick look and I think there are some problems here ... will sort this issue, and the OnChange thingy for next release ...
Back to top
View user's profile Send private message
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