﻿<?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  » ViewSecurityKey in InheritsForm</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 02:51:26 GMT</lastBuildDate><ttl>20</ttl><item><title>ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21488.aspx</link><description>By testing the safety of the form in an inherited form, the property in the form ViewSecurityKey "son" does not work, only the form of "father&lt;/P&gt;&lt;P&gt;Any suggestions?</description><pubDate>Tue, 13 Jan 2009 15:14:45 GMT</pubDate><dc:creator>Malcon M. Mikami</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21502.aspx</link><description>Cool. Glad you found the problem!&lt;br&gt;
&lt;br&gt;
Ivan, don't get down.  I was *almost* about to yell uncle, but Malcon got it working too soon! ;)</description><pubDate>Tue, 13 Jan 2009 15:14:45 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21501.aspx</link><description>There... I'm not&amp;nbsp;useful even to translate posts anymore... :D&lt;/P&gt;&lt;P&gt;Good you got it working, Malcon.</description><pubDate>Tue, 13 Jan 2009 14:11:39 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21500.aspx</link><description>&lt;DIV id=result_box dir=ltr style="TEXT-ALIGN: left"&gt;Solved! &lt;BR&gt;In Form father in contrutor method, has the following command: &lt;BR&gt;&lt;BR&gt;InitializeComponent (); &lt;BR&gt;this.Visible = false; &amp;lt;------ &lt;BR&gt;&lt;BR&gt;The method. He calls the checksecurity visible, but the key is empty because the form has not been initialized. &lt;BR&gt;&lt;BR&gt;Removed the visible, everything OK&lt;/DIV&gt;&lt;DIV dir=ltr style="TEXT-ALIGN: left"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV dir=ltr style="TEXT-ALIGN: left"&gt;Tanks boys~!&lt;/DIV&gt;</description><pubDate>Tue, 13 Jan 2009 13:15:03 GMT</pubDate><dc:creator>Malcon M. Mikami</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21497.aspx</link><description>No problem with the poor English :D &lt;br&gt;
&lt;br&gt;
You aren't overloading or overriding the property are you?  ViewSecurityKey is actually implemented way down in the SF BaseForm, with is sub-classed by the SF StandardForm, which your master form is using....so I don't know why it wouldn't work for one more level.  So it probably likely that you are doing something on the accounts form that is messing things up.  :ermm:&lt;br&gt;
&lt;br&gt;
I'd try a couple of things to narrow down the problem. First, check our security key and also the user your testing with, make sure everything is setup correctly. Next, if you have another form that is inherited from master, attempt to do the same security on it (temporarily, just for testing).  If that also does not work, I'd create a new form with no code, just the security key, inherit from master.  If that does not work, create a sample app, see what happens. &lt;br&gt;
&lt;br&gt;
Also, what exactly is it doing?  Always opening? Throwing an exception?</description><pubDate>Tue, 13 Jan 2009 11:21:31 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21494.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;DIV id=result_box dir=ltr style="TEXT-ALIGN: left"&gt;Excuse my poor English. Let me explain better: &lt;BR&gt;I have 2 forms: &lt;BR&gt;frmMaster = "father" and frmAccounts = "son". &lt;BR&gt;The form frmAccounts inherits the form frmMaster &lt;BR&gt;My project is using the integrated security of Strata. When I put the key in the form of ViewSecurityKey property frmMaster it works is the key for permission. When I put the key in the same form he frmAccounts not the key to find permission. What may be happening?&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Tue, 13 Jan 2009 10:41:14 GMT</pubDate><dc:creator>Malcon M. Mikami</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21493.aspx</link><description>&lt;DIV id=result_box dir=ltr style="TEXT-ALIGN: left"&gt;Excuse my poor English. Let me explain better: &lt;BR&gt;I have 2 forms: &lt;BR&gt;frmMaster = "father" and frmAccounts = "son". &lt;BR&gt;The form frmAccounts inherits the form frmMaster &lt;BR&gt;My project is using the integrated security of Strata. When I put the key in the form of ViewSecurityKey property frmMaster it works is the key for permission. When I put the key in the same form he frmAccounts not the key to encotra permission. What may be happening?&lt;/DIV&gt;</description><pubDate>Tue, 13 Jan 2009 10:39:06 GMT</pubDate><dc:creator>Malcon M. Mikami</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21491.aspx</link><description>I really don't understand either.&amp;nbsp; Greg had some good questions, please answer.&amp;nbsp; Thanks.</description><pubDate>Tue, 13 Jan 2009 10:26:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ViewSecurityKey in InheritsForm</title><link>http://forum.strataframe.net/FindPost21490.aspx</link><description>Not sure what you mean by doesn't work. Are you using role based security?  Check out the "Form-Level Security Keys" help topic to see how it should work. There's a table at the bottom outlining what should be happening.</description><pubDate>Tue, 13 Jan 2009 10:23:01 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>