#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    28
    Rep Power
    0

    Unknown space between DateTimePicker control and Title caption ! !


    I just placed a DateTimePicker on a panel...

    while loading the form Title caption of DateTimePicker is placing too far from the DateTimePicker and it returns to its original place when we click on the DateTimePicker...


    I assign the property Anchors --> ak Right --> True

    Thanks in advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    Title caption of DateTimePicker is
    TDateTimePicker does not have a Title or Caption property.

    Can you explain your problem more clearly?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    28
    Rep Power
    0
    Originally Posted by clivew
    TDateTimePicker does not have a Title or Caption property.

    Can you explain your problem more clearly?


    First of all thanks for d reply....
    Sorry i forget to mention that,I'm using our customized control called AES DB DateTimePicker ,which comes with Title.

    During design it placed in it's appropriate place(Near to DateTimePicker box) but during run-time there is a huge gap between Title and DateTimePicker...

    Actually we used that control for long time.... This is the first time it happens...

    Do u have any alternative idea, Instead of using that Customize control.. We tried Normal DateTimePicker and Label.. But it didn't work.. Thanks in advance...
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    Naturally I am in no position to comment on the behavior of a custom component to
    which I do not have access or source code.

    With this question and the other one you just posted I do not think we have enough context to formulate answers or suggestions for you.

    What are you trying to do?
    I never heard of a label changing its position relative to another component simply when it is clicked.

    I have seen similar types of behavior on machines that are not using the standard/default
    Windows font setting (i.e. Large Fonts setting) when a form is resized.

    You probably need to supply much more information to get help.
    e.g. windows version, Delphi version, some code....

IMN logo majestic logo threadwatch logo seochat tools logo