ViewSecurityKey in InheritsForm


Author
Message
Malcon M. Mikami
Malcon M. Mikami
StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)
Group: Forum Members
Posts: 60, Visits: 1.3K
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

Any suggestions?

Replies
Malcon M. Mikami
Malcon M. Mikami
StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)StrataFrame User (164 reputation)
Group: Forum Members
Posts: 60, Visits: 1.3K
Solved!
In Form father in contrutor method, has the following command:

InitializeComponent ();
this.Visible = false; <------

The method. He calls the checksecurity visible, but the key is empty because the form has not been initialized.

Removed the visible, everything OK
 
Tanks boys~!

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
There... I'm not useful even to translate posts anymore... BigGrin

Good you got it working, Malcon.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Cool. Glad you found the problem!



Ivan, don't get down. I was *almost* about to yell uncle, but Malcon got it working too soon! Wink
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search