View Full Version : Can i make a text field that will have label same as system's clock ?
StefanStavrev 11-20-2006, 06:01 AM Can i make a text field that will have label same as system's clock ?
Maybe python can be used in this case somehow???
|
|
grantimus
11-20-2006, 09:06 AM
try this:
window someWindow;
rowLayout;
textFieldGrp -label `about -currentTime` textFieldWithTimeAsLabel;
showWindow;
//if you want to clock to update you'll need a scriptJob to do that
//just remeber to parent the script job to your UI so it will be killed when the winow is closed
scriptJob -parent "someWindow" -ie "textFieldGrp -edit -label `about -ct` textFieldWithTimeAsLabel";
CGTalk Moderation
11-20-2006, 09:06 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.