Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Hey guys, trying to add a ply time field to my startup theme. I currently have this in the xml, Is there a way to get it to show, Hours Minutes Seconds like in Launchbox?

 

Text="{Binding SelectedGame.PlayTime}"

Posted
21 minutes ago, JoeViking245 said:

<TextBlock Text="{Binding Path=ActiveGame.PlayTimeHms}" Foreground="White" />

Thanks JoeViking!  it didn't seem to like ActiveGame but just adding the "Hms" fixed it. 

Like this....

Text="{Binding SelectedGame.PlayTimeHms}

THANK YOU

  • Game On 1
Posted
47 minutes ago, TrailerVert said:

it didn't seem to like ActiveGame

That's kind of what I figured.

47 minutes ago, TrailerVert said:

but just adding the "Hms" fixed it. 

That's exactly what I hoped. ;) 

Glad [in the end] it works.

 

Be sure to read through all the other cool Data Bindings in The LaunchBox Strategy Guide link I gave above. You might find something you never knew you wanted to add to your theme. :D

 

  • Like 1

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...