#86257 - 2002-06-25 10:57 AM
Missing KiXGUI ComboBox
|
rclarke
Starting to like KiXtart
   
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
I am trying to create a ComboBox using KiXGUI v1.1 Build 42 (the latest available from Alex’s site) with KiXtart v4.10 RC2, however the ComboBox steadfastly refuses to appear in the dialog box. The code fragment is as follows:
$scantype = $form.addcombobox("scantype","",$frame3.left + 8,$frame3.top + 52,224,20) $scantype.additem("Hardware/Software") $scantype.additem("Hardware/Software/Exe") $scantype.additem("Hardware/Software/Exe/Dll")
If I comment out the last three lines and just change the letters ‘Combo’ to ‘Text’ in the first line, then I do get a text box as expected (so I can’t believe it is a finger trouble issue). I have looked through all the example code that comes with KiXGUI but there isn’t one single instance of a ComboBox example to work from. From the bug reports and other posts on this board, it appears that the ComboBox construct may be broken in some way, but I do not understand how. If anyone has a working ComboBox using KiXGUI, I would certainly appreciate the benefit of their knowledge.
Thanks,
Rod.
|
|
Top
|
|
|
|
#86258 - 2002-06-27 06:55 PM
Re: Missing KiXGUI ComboBox
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Rod, The problem is in the manual, correct call for addcombobox is : $form.addcombobox("scantype",$frame3.left + 8,$frame3.top + 52,224,20)
(no label here, same as listbox)
For the broken part, here's the 2 states of a combobox : 1) a text area, where you can write with a dropdown box 2) a locked area, no write allowed with a dropdown box The first state is not available due to a bug, and the fix MS provide doesn't apply with the VB language.
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#86259 - 2002-06-28 12:46 AM
Re: Missing KiXGUI ComboBox
|
rclarke
Starting to like KiXtart
   
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
Hi Alex,
Many thanks for the correction, it is very much appreciated, as is KiXGUI
Thanks,
Rod.
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 1471 anonymous users online.
|
|
|