lundi 30 janvier 2017

How to work with checkbox list in lotusscript?

I'm developing a lotus notes application. I wonder how to check/uncheck and enable/disable individual checkbox options from the checkbox list. This is how i did a work around to check it somehow:

Dim CheckListInitiator As String CheckListInitiator = doc.CheckListInitiator(0) ''get the checked items text in a variable.

''append the content of the required checkbox to the list. This will check it.

If CheckListInitiator = "" Then ''if nothing checked, means the list is empty. CheckListInitiator = "Allotment Approval attached"
Else ''the list has one or more options checked, so append the content. CheckListInitiator = CheckListInitiator + "; Allotment Approval attached"
End If

I'm not sure if this is the right way of doing this. Also I'm still unable to enable and disable individual items from the list.

Can anybody help on how to do this?

Thanks,

baburman




Aucun commentaire:

Enregistrer un commentaire