Menu

#36 Test with two relayed comboboxes ...

v1.0_(example)
open
nobody
None
1
2021-02-11
2021-02-10
No

HI,
Having an :
Error E0061 Implicit send operator with no WITH OBJECT in sight

I made a test program I send by mail.
I have hardly corrected the bugs in the prg, and now it works has expected, but there is just a little problem about the combobox, to know if they can memorize the last choiced item, before opening again the combobox.

Here is the last prg, with this little problem.

It could be added to hwgui

Thanks
A+

1 Attachments

Discussion

  • Wilfried Brunken

    Hello Alain,
    i have too much to do, sorry for the late response, but i don't forget all tasks.
    I received your e-Mails, TNX.
    With commit r2935 i modified the sample program "tstcombo.prg" now ready for GTK.
    It uses presets and the Refresh() method, so i think this can help to solve your problem.
    Please give feedback, then i'll will check your sample into directory "test",
    after i try to checked it for Windows.
    Also i updated the docu, because the COMBOBOX ... EDIT is Windows only.
    (That was the reason for crash of this sample program on GTK).
    I am now trying to solve the trouble with the icons, please wait.

    With regards,
    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
  • Aupeix Alain

    Aupeix Alain - 2021-02-11

    Hi Wilfried,
    I had a look and tried tstcombo, and it works fine.
    But I think it's not exactly the same .
    I explain it a bit more.
    I have 3 arrays: {prg}, {function} and {prg,function}
    I have 2 combos, the first is a list of prg, the second is the list of all the functions of the prgs
    Choosing a prg makes the second combo to be set at the first function of the prg.
    Choosing a function make the first combo to be set at the prg item
    ON CHANGE of a combo interferes on ON CHANGE of the the other combo
    The difficult was to avoid the continuous ON CHANGE execution

    In tstcombo, no ON CHANGE used, but some buttons to set combos.

    I repeat, it's not exactly the same problem that with tstcombo.

    I also asked, but I'm not sure there is a solution: is it possible to locate the combo list at the last used item ?

    Thanks
    A+

     

    Last edit: Aupeix Alain 2021-02-11

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.