Jump to content

Personnalize PickTime in Timestamp


Recommended Posts

Hi community

I want to know if there is possibility to personnalize the button of time selection (the dialog, not the appareance)in timestamp control. I have found PickTime.vi (resourcedialogPickTime.vi) but when i modify it, there is no effect on Dialog in timestamp control. Is there a way to do that ?

Best regards

Eric

LV2011

Edited by Bobillier
Link to comment

Create the custom boolean control you would like for the Timestamp control.  Customize a Timestamp control, right-click the button, select replace and choose your custom control.  Here I use a snazzy classic switch:

 

post-26690-0-51421200-1404319839.png

Edited by Darin
Link to comment
Create the custom boolean control you would like for the Timestamp control.  Customize a Timestamp control, right-click the button, select replace and choose your custom control.  Here I use a snazzy classic switch:

 

attachicon.gifTimestampButton.png

I was just in the middle of saying this.

 

Make a copy of the PickTime.vi and name is something different.  Then have on your front panel the time and date control, but don't show the button for picking the date,  instead have a boolean that calls your copy of the PickTime.vi

Link to comment

Thanks Darin

But like i said in my question , i dont want  personnalize appearance of the boolean control, but the dialog  open when you click on it.

 

Thanks Hooovahh

I know your solution, and it's exactely what i have do, but my request was more generic about possibility of change the native timestamp control in Labview. I imagine than timestamp was like one Xcontrol and that you can modify (in deep) the native associate dialog. 

Link to comment
I imagine than timestamp was like one Xcontrol and that you can modify (in deep) the native associate dialog. 

If you changed that VI, and restarted LabVIEW, and the behavior of the dialog didn't change, then I would say that that VI isn't part of the low level dialog that you see in that control.  That dialog that you see could be buried in the LabVIEW.exe file and there might be no way to edit it.

Link to comment
If you changed that VI, and restarted LabVIEW, and the behavior of the dialog didn't change, then I would say that that VI isn't part of the low level dialog that you see in that control.  That dialog that you see could be buried in the LabVIEW.exe file and there might be no way to edit it.

 

I couldn't change the original NI dialog back in 2011 (just my own copy). See this Idea Exchange discussion:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Calendar-control-that-does-not-block-the-GUI/idc-p/1419606

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.