Usage of STRING_COMBO submission item

Viewing 3 posts - 1 through 3 (of 3 total)
  • 1st December 2010 at 3:56 pm #14410

    Hi,

    How to use the “STRING_COMBO” submission item in the template editor?

    I checked the Reference Manual but there is no example of its usage.

    I did the following code but I’ve only got an empty combo box (no text, no value) without the possibility to select another “COMBOITEM” :

    ADD VideoCodec STRING_COMBO “qtrle” “Video Codec” “Specify the video codec of the output file” NOTACTIVABLE
    ADD QTRLECodec COMBOITEM “QuickTime Animation” “qtrle”
    ADD H264Codec COMBOITEM “H264” “libx264”
    ADD FLASHCodec COMBOITEM “Flash” “flv”

    Thanks

    2nd December 2010 at 10:15 am #15166

    Combo item needs to have the same string as the main combo statement, so in your example:

    ADD VideoCodec STRING_COMBO “qtrle” “Video Codec” “Specify the video codec of the output file” NOTACTIVABLE
    ADD VideoCodec COMBOITEM “QuickTime Animation” “qtrle”

    2nd December 2010 at 11:54 am #15125

    Thank you Leonardo, it works great now!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.