FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour combobox for mod harbour
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
combobox for mod harbour
Posted: Fri Jan 17, 2020 05:53 PM
Hello,
Does someone know how to make a combined input and select field.

Best regards
Otto
https://winhotel.space/mm/test.prg

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: combobox for mod harbour
Posted: Sat Jan 18, 2020 11:11 PM

Hello,
I found a solution.

Please test Titel-field.

https://winhotel.space/mm/test.prg

https://stackoverflow.com/questions/146 ... y/20127724

Best regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 08:24 AM

Dear Otto,

You are a mod_harbour Master already :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 10:15 AM

Dear Antonio,

I think more of a copy & paste man. But you gave us a power tool with mod harbor.
Please send me my Fivewin subscription bill for this new year.

Best regards
Otto

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 10:16 AM

Otto,

I just tested it and it's working with Edge, but not with Google Chrome :(

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 10:36 AM

Dear Otto,

Many thanks for your continuous support to us along the years :-)

A big hug

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 01:14 PM

Mark,

thank you for helping me.
What exactly is not working.
ARROW:
Do you think we need the arrow.
Isn't it an overload.


Now - thanks to Andreu, I can assign a value to the combobox and save. Please test.

https://winhotel.space/mm/test.prg

Default for test is hallo. Then I change and send the form.

Best regards
Otto

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 01:55 PM
Otto,

If I click on the Titel-inputfield, I see an X, pressing that X, I get the combobox


With chrome I don't see anything, but when I click on the right end of the imputfield (where the X is in Edge), I get the combobox.


So, the only thing that isn't working is that it doesn't show the X.
In your bitmap, I see an arrow pointing down...
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: combobox for mod harbour
Posted: Sun Jan 19, 2020 02:07 PM

Hello Mark,

thank you for your help.

I don't think I can solve this problem right now. I'm still too inexperienced with javascript.
I will post the code here, and on SLACK maybe someone will help us.

But working with mod harbor is so exciting. Did you see that signing works too?

Best regards
Otto

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: combobox for mod harbour
Posted: Mon Jan 20, 2020 09:46 AM

Otto,

Indead, signing works on both Chrome an Edge for me.
Very nice 8)

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion