You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/docs/examples/combobox/combo.js

18 lines
310 B

#!/usr/bin/env kjscmd
// Example that uses TQComboBox
var hbox = new TQHBox();
var l = new TQLabel( hbox );
l.text = 'Combo test';
var cb = new TQComboBox( hbox );
cb.insertItem( 'test 1' );
cb.insertItem( 'test 2' );
cb.insertItem( 'test 3' );
cb.insertItem( 'test 4' );
hbox.show();
application.exec();