Hi all

 

I am using an olecontrol as a date picker on a form.

There are quite a few date fields to enter.  These are automatically
populated with today's date on opening the form.  I want to offer the
employee the option of double clicking on a date field which I want to
move to the position of the text box

 

With ThisForm

.oleControl1.Left  =  This.Left

.Top  =  This.Top

.Visible  =  .T.

EndWith

 

This would place the Date Picker (in this case a Calendar control) over
the text box.

 

Unfortunately the control does not move although the properties change
when viewed in the debugger.

 

Any Ideas

 

Cheers

 

Peter Hart

 

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to