General information
Category:
Forms & Form designer
>>Because I'm lazy and don't like to type any more code than I have to, I've added a custom nBorderStyle property to my base class form and in Init have:
>>
>>This.BorderStyle = This.nBorderStyle
>>
>>Good idea.
>
>Aye, but what's the difference between putting a num value in bespoke prop .nBorderStyle and setting the .BorderStyle prop?
By leaving the BorderStyle property at its default, you can resize the form in the Designer. All of this is a work-around for the fact that BorderStyle is effective in the Form/Class Designer.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only