School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
You're Browsing As A Guest! Register Now...
Become an Expert!

Join 357,969 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,564 people online right now.Registration is fast and FREE... Join Now!



help with "play" icons

52 Weeks of Code Challenge: Android

Week #11 of the 52 Weeks of Code Challenge is Android, you should give it a shot. Click Here!

help with "play" icons building a replication of a device...need to know how to draw triangle Rate Topic: -----

#1 amishcoder  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 20-November 08


Dream Kudos: 0

Post icon  Posted 22 November 2008 - 12:30 PM

my last post garnered 0 response, so maybe this will go better...i am trying to replicate a handheld camcorder using vb. never used it before, and i'm stumped...

in my version of the camcorder, there are three buttons along the bottom of a "screen". these buttons change function depending on the mode of the camcorder. here's the code i have for the center "record" button (which swiches from rec/stop to play/pause depending on camera mode):

Private Sub recButtonIcon()
		If recVal = True And modeValue = True Then
			recSymbol.Visible = True
			Pause0.Visible = False
			Pause1.Visible = False
			Pause3.Visible = False
			'playSymbol.visible = False
		ElseIf recVal = False And modeValue = True Then
			recSymbol.Visible = False
			Pause0.Visible = True
			Pause1.Visible = True
			Pause3.Visible = True
			'playSymbol.visible = False
		ElseIf recVal = True And modeValue = False Then
			recSymbol.Visible = False
			Pause0.Visible = False
			Pause1.Visible = False
			Pause3.Visible = False
			'playSymbol.visible = True
		ElseIf recVal = False And modeValue = False Then
			recSymbol.Visible = False
			Pause0.Visible = True
			Pause1.Visible = True
			Pause3.Visible = False
			'playSymbol.visible = False
		End If
	End Sub


i don't know how to draw a "play" arrow (playSymbol in the code), or how to draw next/last arrows or tele/wide icons for the other buttons. please help!!!

thanks for looking. i feel like a "case" function would work better here, but i don't know how to use it...i also have to implement the switching of a few screens (to represent different videos being recorded/viewed), and i was going to use similar logic. does this make sense?
Was This Post Helpful? 0
  • +
  • -


#2 paperclipmuffin  Icon User is offline

  • WinWinWinWindows?
  • Icon

Reputation: 10
  • View blog
  • Posts: 912
  • Joined: 16-April 09


Dream Kudos: 400

Re: help with "play" icons

Posted 20 April 2009 - 09:53 PM

Go to the properties of the command button and set it to 1 - graphical. You now have a picture property you can change at will like this:
command1.picture = sprites\arrow


Hope this helps! :rolleyes:
Was This Post Helpful? 0
  • +
  • -

#3 firebolt  Icon User is offline

  • D.I.C Lover
  • Icon

Reputation: 78
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09


Dream Kudos: 1675

Re: help with "play" icons

Posted 20 April 2009 - 11:01 PM

Please check the date of this post before replying. Thanks.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month