July 10th, 2009, 12:46 PM
[RESOLVED] Out of Stack Space and Reserved Words
I am subclassing (if what we do in VB can actually be considered true subclassing) I've created a control with nothing but an image on it. I've defined all of the properties I need in my control from the standard image control. Most of them work, however a couple generate an Out Of Stack Space error when I try to set them.
Left, Top, Height, Width, BorderStyle, Tag, ToolTipText and Visible all work fine
however, Stetch True or False generates Out of Stack Space
I've tried using enum assigned to variable in the Get and Let and I've tried using Boolean data type
both have the same result.
July 10th, 2009, 05:15 PM
Re: Out of Stack Space and Reserved Words
Wow! I solved this problem when I discovered the User Control Wizard. LOL. After looking at the way it built the properties and events though, I still don't understand what I was doing wrong, I did it the same way. Oh well. The wizard makes it nice, and now I've got it working as needed.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!