Announcement

Collapse
No announcement yet.

Multiple gci is one project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple gci is one project

    I am using ViSi environment and have created multiple forms. Is there a way to get the IDE to create multiple .dat and .gci files to use in the file_LoadImageControl function?

    The reason is I would like multiple .dat files is I use the img_Touched function but having all my buttons in the same image list can be problematic.

    Is there a way to get img_Touched to only return the ID for images that are currently Visible? When I change screens I call gfx_Cls() and then show the buttons for that screen, but img_Touched will return the ID for images not visible as well.

    Thanks

  • #2


    What you do is enable and disable the object for touch, have a read of this thread

    http://4d.websitetoolbox.com/post/image-touch-6576850?highlight=touch+disable Specifically Doff's post.

    Each program will have a separate .gci and .dat, you could place your graphics for separate forms in separate programs, but really, the above is all you need.
    Mark

    Comment

    Working...
    X