Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi !
is it possible to Change the button background-Color or dis/enabled a staticpicture by runtime via vb.net?
for background i did not found properties!
for staticpicture! i try
Private WithEvents _Img_ProjCurrent As Autodesk.Map.IM.Forms.PictureBox
Private _ImageProjCurrent As String = "$PICAKTUELL"
Private Sub Dialog_load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
....
If Me.Dialog.Controls.Contains(_ImageProjCurrent) Then
_Img_ProjCurrent = CType(Me.Dialog.Controls.ApiItem(_ImageProjCurrent), Autodesk.Map.IM.Forms.PictureBox)
End If
....
end Sub
here i get the message that the staticimage could not to be convert!
cound someone help?
regards Jan
Solved! Go to Solution.