[Laszlo-dev] For Review: Change 20081002-bargull-pTS Summary: inputtext focus control

Max Carlson max at openlaszlo.org
Thu Oct 2 12:06:29 PDT 2008


Setting the focus to null in the onblur event:

+        if (LFCApplication.stage.focus === this.textfield) {
+            // remove keyboard control
+            LFCApplication.stage.focus = null;
+        }

prevents the tab key from advancing beyond the first field in 
http://localhost:8080/trunk-clean/examples/components/edittext_example.lzx

Otherwise approved!

André Bargull wrote:
> Change 20081002-bargull-pTS by bargull at dell--p4--2-53 on 2008-10-02 
> 11:32:19
> in /home/Admin/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: inputtext focus control
> 
> New Features:
> 
> Bugs Fixed: LPP-7101
> 
> Technical Reviewer: max
> QA Reviewer: mamye
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Details:
> Set focus through "Stage.focus" property
> 
> 
> Tests:
> see bugreport
> 
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20081002-bargull-pTS.tar
> 
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org



More information about the Laszlo-dev mailing list