check box

Hi!

how to create check box in a dialog? and when i click it, a drop down list in the dialog box will disable. is it possible? please?

Regards,

AML

hi,

to add a checkBox in a dialog:

yourDialog.addfield(typeId(noyes));

I haven’t tried to test th esecond point of your post

Hope it helps

Regards

Thomas

Hi Thomas,

Thanks for your reply! :slight_smile: but is it possible that when I click that check box, a drop down list(list of companies) will be disable? please help.

Regards,

AML

Although it can be done in a dialog (controlMethodOverload is the keyword for a search engine), the best way is simply to create a normal form at design time instead of using a form built at run time (that’s what dialog really is).
The most common example - using a dialog form for a batch class - is demonstrated in Tutorial_RunBaseForm class and form in AOT.