Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Problem with Calendar control
Problem with Calendar control [message #29483] |
Sat, 23 October 2010 15:02  |
frankdeprins
Messages: 99 Registered: September 2008 Location: Antwerp - Belgium
|
Member |
|
|
Hello,
I have a question related to the Calendar control.
When I put a Calendar control on a layout window, using the designer, I can resize it and it scales perfecly, even when I make it smaller than the 'standard' size (the size which it has when I drop it on a layout window).
However, when I run the application with a Calendar control that I made smaller than the standard size, it does not scale, but gets clipped.
Should I call some method to make the scaling happen? I already tried Layout and Refresh, even SetRect, but to no avail. It just remains clipped, rather than scaled.
Regards
frank
|
|
|
|
Re: Problem with Calendar control [message #29492 is a reply to message #29491] |
Sat, 23 October 2010 23:20   |
frankdeprins
Messages: 99 Registered: September 2008 Location: Antwerp - Belgium
|
Member |
|
|
Hye koldo,
Thanks for the explanation.
Yes, I know about these two distinct and separate drawing 'modes' and, from a technical point of view, I did not think the runtime behaviour was tightly linked to the designtime behaviour. However, from an ergonomical useage point of view... As you jokingly point out: it is not 'normal' to see the designer behave in a more 'sophisticated' way than the real thing.
Besides, when you use a DropDate control, the dropped Calendar is actually also smaller than the 'fixed' one. And yet, that one is scaled perfectly. So, it must be possible. I only do not see where the difference in behaviour between the fixed and the dropped one, finds its root in the code.
frank
[Updated on: Sat, 23 October 2010 23:21] Report message to a moderator
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 19:34:35 CEST 2025
Total time taken to generate the page: 0.01034 seconds
|