Harbour QT combobox addItem problem

26 views
Skip to first unread message

dor...@sezampro.rs

unread,
Aug 21, 2014, 5:04:15 AM8/21/14
to qtcon...@googlegroups.com

Hi !

I tried to use QT Combo box widget in Harbour.

When I use oCB:addItem(cVar) variant all works well. On screen I can see window with its combobox.

But when I use  oCB:addItem(cVar,cUserData) variant I have problem. No window on screen. No error, no explanation. Nothing happenes.

I tried to put numeric data in place of user data, but with no success.

So I change code back to oCB:addItem(cVar) variant … and again all works well.

In Giovanni Di Maria’s HBQT-Tutorial there is no example for second variant of addItem function, only on first variant.

It seems that second variant can not be used in Harbour ? Can anybody comment on this ?

Thanks in advance.

Best regards,

Dordije.

Reply all
Reply to author
Forward
0 new messages