﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Login screen do not get focus</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 00:17:59 GMT</lastBuildDate><ttl>20</ttl><item><title>Login screen do not get focus</title><link>http://forum.strataframe.net/FindPost19494.aspx</link><description>Hi,&lt;br&gt;
I created a custom login form, using StrataFrame login form. While login form displays, cursor placed correctly in the username filed but user could not type it because screen did not get focus.&lt;br&gt;
&lt;br&gt;
How can I got focus on screen.</description><pubDate>Mon, 12 Jan 2009 05:44:14 GMT</pubDate><dc:creator>Sachin Saxena</dc:creator></item><item><title>RE: Login screen do not get focus</title><link>http://forum.strataframe.net/FindPost21463.aspx</link><description>Hi Sachin,&lt;/P&gt;&lt;P&gt;i had the exact same issue as you described (using my own login-form (not Strataframe Login-Form)).&lt;/P&gt;&lt;P&gt;I was finally able to resolve that by calling:&lt;/P&gt;&lt;P&gt;this.Owner.Activate();&lt;/P&gt;&lt;P&gt;within the Login-Forms OnLoad Method.&lt;/P&gt;&lt;P&gt;Make sure you set MyLoginForm.Owner = this; within the MDI-Parent.&lt;/P&gt;&lt;P&gt;Still not sure what causes the application do loose focus, but the workaround above solves it at least. Btw, that was the only Child-Form in my Application with that issue.</description><pubDate>Mon, 12 Jan 2009 05:44:14 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Login screen do not get focus</title><link>http://forum.strataframe.net/FindPost19529.aspx</link><description>Yeah, I would look at your environment and code as this seems to be working as it should.&amp;nbsp; Any additional information you might have would be great as well.&amp;nbsp; Thanks.</description><pubDate>Thu, 18 Sep 2008 15:43:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Login screen do not get focus</title><link>http://forum.strataframe.net/FindPost19511.aspx</link><description>Hi Sachin.&lt;/P&gt;&lt;P&gt;Have you checked if you are not moving the focus somewhere else in code?&lt;/P&gt;&lt;P&gt;I also have a custom Login form based on the SF template and it is working fine over here.</description><pubDate>Thu, 18 Sep 2008 11:47:37 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>