跳到主内容

搜索

搜索

Drop Down Menu

评论

5 条评论

  • Avatar
    Ian Cummings
    版主
    This can be done in the properties of the drop down list under the "List Items" tab. Simple untick the, "Use same values for display text and sub-strings" checkbox and then in enter the differing values as wanted. See the attached screen shot.
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1316165133' post='623']
    This can be done in the properties of the drop down list under the "List Items" tab. Simple untick the, "Use same values for display text and sub-strings" checkbox and then in enter the differing values as wanted. See the attached screen shot.
    [/quote]

    Sorry, i should have been a bit clearer. I am pulling the data from a spreadsheet, so need to be able to do it via vb script. Is it possible to have different Display Text & Sub-string Values via vb script?
    0
  • Avatar
    Ian Cummings
    版主
    No, I don't think this is supported at present.
    0
  • Avatar
    Ian Cummings
    版主
    I suppose that if the VB script contained display items, your VB script could then go on to use a Select...Case statement to substitute the display value with the value you will assign the sub-string at print time. This is applicable if the list isn't too long.
    0
  • Avatar
    Ian Cummings
    版主
    I've got some new information on this one. You can use vbTab to separate name-value pairs:

    Value = "List Item 1" + vbTab + “Value1” + vbCr + "List Item 2"+ vbTab + “Value2”

    See the newly attached screenshot.
    0

请先登录再写评论。