取消
显示结果 
搜索替代 
您的意思是: 

Date picker

已解决!
转到解答

I require to provide an interface to the user to choose a start date and end date to sort some data and display. 

 

Ideally I require an interface like the one you find in online hotel booking sites - you choose the year ,  month and then the date.

 

Choose Date.PNG

 

Any standard tools are there or I need to work from basics and go about it??

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 项奖励
1 条消息(共 12 条)
12,608 次查看
解答
已被主题作者 MogaRaghu 接受
What is wrong with the calendar button of the timestamp control?
2 条消息(共 12 条)
12,580 次查看

To expand on this, you could cannibalise the calendar feature of a timestamp control - have a look at <LabVIEW Installation Folder>\Resource\Dialog\picktime.vi.

 

Alternatively, you could use a .NET calendar control - there's a good starting point here.

---
CLA
3 条消息(共 12 条)
12,573 次查看

@thoult wrote:

To expand on this, you could cannibalise the calendar feature of a timestamp control - have a look at <LabVIEW Installation Folder>\Resource\Dialog\picktime.vi.


Educational.

4 条消息(共 12 条)
12,550 次查看

@Dennis_Knutson wrote:
What is wrong with the calendar button of the timestamp control?

Frankly I am unaware of such a control. Will search anyway. In the interim the following code works fine :

 

Day Of Year.PNG

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 项奖励
5 条消息(共 12 条)
12,539 次查看
Since that does not display a calendar, I don't see how it answers your original question but whatever works . In the meantime, please take a couple of minutes to actually look at the controls you have available. Much more than a string control is on the palettes.
0 项奖励
6 条消息(共 12 条)
12,516 次查看

@Dennis_Knutson wrote:
What is wrong with the calendar button of the timestamp control?

Kudos to Dennis!

 

2015-05-27_lv_datepicker.png

0 项奖励
7 条消息(共 12 条)
12,314 次查看

@Dennis_Knutson wrote:
What is wrong with the calendar button of the timestamp control?

It looks too childish for some of the say serious applications 极度高兴的表情

0 项奖励
8 条消息(共 12 条)
11,382 次查看

@Abdulaev_Rustam wrote:

@Dennis_Knutson wrote:
What is wrong with the calendar button of the timestamp control?

It looks too childish for some of the say serious applications 极度高兴的表情


Please tell me more about these "serious applications".

 

Curious,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
9 条消息(共 12 条)
11,374 次查看

@Ben

Please tell me more about these "serious applications".

 

Curious,

 

Ben


The 90's are calling, they want their controls back! Let's face it, it looks pretty rubbish and antiquated and has fallen of Windows 95. Sorry for raising an old thread, but I'm looking for something similar and stumbled across this and had to comment...

0 项奖励
10 条消息(共 12 条)
10,077 次查看