I have an invisible calendar control on my form, which is made visible when a button is clicked. When the control is made visible, I'm setting its position like so:
However, when I run the form, only the height and width properties are set - top and left are as they are in form-design. And I have no idea why!
It's not a major problem, because I can just put the calendar control exactly where I want it to appear in design-mode, but it'd be nice to know if it's me...
Code:
with this.parent.calendar
.left = 236
.top = 107
.height = 156
.width = 283
.visible = .t.
endwith
It's not a major problem, because I can just put the calendar control exactly where I want it to appear in design-mode, but it'd be nice to know if it's me...