Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7011 > unrolled thread

Opening DateTimePicker

Started byMike Scholl <MikeScholl@btinternet.com>
First post2014-06-27 15:13 +0100
Last post2014-07-07 03:53 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Opening DateTimePicker Mike Scholl <MikeScholl@btinternet.com> - 2014-06-27 15:13 +0100
    Re: Opening DateTimePicker "Jamal" <someone@example.com> - 2014-06-27 10:56 -0400
    Re: Opening DateTimePicker MikeScholl@btinternet.com - 2014-07-07 03:53 -0700

#7011 — Opening DateTimePicker

FromMike Scholl <MikeScholl@btinternet.com>
Date2014-06-27 15:13 +0100
SubjectOpening DateTimePicker
Message-ID<L_idnd-iRtq64TDOnZ2dnUVZ8o6dnZ2d@bt.com>
I want to be able to open a DateTimePicker using code
I thought
SendMessage (oDCDatePicker1:Handle(), DTN_WMKEYDOWN, 1, 0)
would work but I get a compile error "negative value not allowed"

Still using VO 2.7 I'm afraid

Any suggestions welcomed

Mike

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

[toc] | [next] | [standalone]


#7012

From"Jamal" <someone@example.com>
Date2014-06-27 10:56 -0400
Message-ID<lok0m2$3mv$1@speranza.aioe.org>
In reply to#7011
Hi Mike,

Use the following which is tested and works:

SendMessage(self:oDCDatePicker1:Handle(), WM_SYSKEYDOWN, VK_DOWN, 0L)

Jamal

"Mike Scholl"  wrote in message 
news:L_idnd-iRtq64TDOnZ2dnUVZ8o6dnZ2d@bt.com...

I want to be able to open a DateTimePicker using code
I thought
SendMessage (oDCDatePicker1:Handle(), DTN_WMKEYDOWN, 1, 0)
would work but I get a compile error "negative value not allowed"

Still using VO 2.7 I'm afraid

Any suggestions welcomed

Mike

---
This email is free from viruses and malware because avast! Antivirus 
protection is active.
http://www.avast.com 

[toc] | [prev] | [next] | [standalone]


#7032

FromMikeScholl@btinternet.com
Date2014-07-07 03:53 -0700
Message-ID<26fa2d83-2abb-4f68-add7-420fcd33cdfe@googlegroups.com>
In reply to#7011
On Friday, 27 June 2014 15:13:58 UTC+1, Mike Scholl  wrote:
> I want to be able to open a DateTimePicker using code
> 
> I thought
> 
> SendMessage (oDCDatePicker1:Handle(), DTN_WMKEYDOWN, 1, 0)
> 
> would work but I get a compile error "negative value not allowed"
> 
> 
> 
> Still using VO 2.7 I'm afraid
> 
> 
> 
> Any suggestions welcomed
> 
> 
> 
> Mike
> 
> 
> 
> ---
> 
> This email is free from viruses and malware because avast! Antivirus protection is active.
> 
> http://www.avast.com

Perfect, Jamal. Many thanks. Mike

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web