FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 13.04
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 13.04
Posted: Wed May 01, 2013 06:35 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: New FWH 13.04
Posted: Thu May 02, 2013 10:28 AM
Antonio, you should use the code from Combobox.prg i sent to your private email. In comboboxes from resource there the get are build in all cases (CBS_DROPDOWN or not). This is wrong and the style CBS_DROPDOWNLIST used on comboboxes from resources saves not the selected item to the variable.
See http://forums.fivetechsupport.com/viewtopic.php?p=142839#p142839
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.04
Posted: Thu May 02, 2013 01:06 PM

Günther,

It was impossible for us to include it as we had done some changes in combobox.prg recently (with Rick) and we could not merge your changes and ours (out of time for publishing 13.04).

Would you mind to include your changes in 13.04 combobox.prg and send it to me ? thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: New FWH 13.04
Posted: Thu May 02, 2013 02:04 PM
Antonio there is something broken with combo in FWH 13.04. The following code was working ok with 13.03
Code (fw): Select all Collapse
cRecl := ocorren[ 1 ]
cProd := aprod[ 1 ]
DEFINE DIALOG oDlG RESOURCE "RECLAMA" OF oWndC TITLE allTrim( oQuer:NOME )
    REDEFINE DTPICKER oGet1 VAR dDatp ID 102 OF oDlg VALID ChkJaTemOco( right( oQuer:CHAV, 6 ), dDatp, aComb, @cProd, @cRecl, oGet2, @cGet2, oDlg, @lNovo, @nId )
    REDEFINE COMBOBOX aComb[ 1 ] VAR cProd PICTURE "@!" ID 103 ITEMS aProd OF oDlg valid( ChkVaz( cProd ) ) UPDATE
    REDEFINE COMBOBOX aComb[ 2 ] VAR cRecl PICTURE "@!" ID 104 ITEMS aRecl OF oDlg valid( ChkVaz( cRecl ) ) UPDATE


Now the combos appear empty and the 2nd one is not reachable anymore. Seems the valid clause Always returns .F.
Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: New FWH 13.04
Posted: Thu May 02, 2013 02:15 PM

Changing from droplist to dropdown in rc file solved the problem but I don´t want users to be able do write. Their creativeness is so huge...

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: New FWH 13.04
Posted: Thu May 02, 2013 03:47 PM

Antonio, i will insert my changes in 13.04 Combobox and send the resulting combobox.prg to you.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: New FWH 13.04
Posted: Thu May 02, 2013 07:10 PM

Antonio, already send the combobox.prg to your private email!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: New FWH 13.04
Posted: Sun May 05, 2013 10:55 AM

Up.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10

Continue the discussion