Results 1 to 2 of 2

Thread: convert form object into control object

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    2

    convert form object into control object

    i have a vb project for a pacman game which is form based. i was able to convert it into an ocx with properties exposed so that the client program which uses it can set the properties like game speed, game time, bitmaps to be used for the maze,.. etc.

    when the start button is clicked on the client program, another form for the pacman will show up with the properties set according to the ocx property settings.

    but i want to put the whole game into the control so that only the client programs form will be visible and not two forms. like whats is happening now. one for the client program and one for the game console.... is it possible to convert the form based game that i did into a control based game? how do i go about it?

    fyi.

    the game that i did uses commands like form1.scaleX, form1.scaleY,... which is not allowed in controls...

    any comment or suggestion would be greatly appreaciated.... thanks very much..

  2. #2
    New Member
    Join Date
    Jun 2002
    Posts
    9
    Just a suggestion,

    what about placing the game into a picturebox control?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width