hexagon logo

Dialog Box

I am making dialog boxes with Cypress Enable. Is there any way to insert a picture into a dialog box?

I'm looking to do something similar to what Marked Sets does, where I have a picture that is a button for the operator to click on. Is this even possible to do in Cypress Enable?
Parents
  • Perhaps setting the picture after filling the picturearray?

    In the 'Case 1' section:
    DlgListBoxArray "List1", x()
    [COLOR="Red"]DlgSetPicture "Picture1", x(0)[/COLOR]
    'results = fileName


    This is untested though... (crossing fingers)

    If the above won't work, try moving it outside the case statement:

    End Select
    [COLOR="Red"]DlgSetPicture "Picture1", x(0)[/COLOR]
    End Function
Reply
  • Perhaps setting the picture after filling the picturearray?

    In the 'Case 1' section:
    DlgListBoxArray "List1", x()
    [COLOR="Red"]DlgSetPicture "Picture1", x(0)[/COLOR]
    'results = fileName


    This is untested though... (crossing fingers)

    If the above won't work, try moving it outside the case statement:

    End Select
    [COLOR="Red"]DlgSetPicture "Picture1", x(0)[/COLOR]
    End Function
Children
No Data