combobox for mod harbour

combobox for mod harbour

Postby Otto » Fri Jan 17, 2020 5:53 pm

Hello,
Does someone know how to make a combined input and select field.

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

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: combobox for mod harbour

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: combobox for mod harbour

Postby Antonio Linares » Sun Jan 19, 2020 8:24 am

Dear Otto,

You are a mod_harbour Master already :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42125
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: combobox for mod harbour

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: combobox for mod harbour

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: combobox for mod harbour

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42125
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: combobox for mod harbour

Postby Otto » Sun Jan 19, 2020 1: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: combobox for mod harbour

Postby Marc Vanzegbroeck » Sun Jan 19, 2020 1:55 pm

Otto,

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

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.
Image

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: combobox for mod harbour

Postby Otto » Sun Jan 19, 2020 2: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: combobox for mod harbour

Postby Marc Vanzegbroeck » Mon Jan 20, 2020 9: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 51 guests