In every cmndbutton click a new picture box appears with an individual Index in my project....I want to separate this picture box as From_shape index and To_shape index......I tried it with Vbleftbutton and vbrightbutton .....the code isThe main problem is when I m going to add a new picture this picturebox is automatcally restore as From_shape...coz I use mouse leftbutton to drag it....Is there any option to Separate From_shape and To_shape index from common picturebox index?????VB Code:
If Button = vbleftbutton Then From_shape = Index End If If Button = vbRightButton Then To_shape = Index End If




Reply With Quote