Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change embedded toggle button pic?

Status
Not open for further replies.
May 23, 2001
300
US
I have a toggle button with an embedded picture of sort ascending. What I would like to do is on click to change the picture from sort ascending to the embedded picture of sort descending.

If tglSort1 = True Then
Me.tglSort1.Picture = SortDescending
Else
Me.tglSort1.Picture = SortAscending
End If

This is what I have and obviously it doesn't work.

Thanks,

BobSchleicher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top