New FWH 13.04

New FWH 13.04

Postby Antonio Linares » Wed May 01, 2013 6:35 pm

regards, saludos

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

Re: New FWH 13.04

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: New FWH 13.04

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

Re: New FWH 13.04

Postby ADutheil » Thu May 02, 2013 2:04 pm

Antonio there is something broken with combo in FWH 13.04. The following code was working ok with 13.03
Code: Select all  Expand view
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.
Last edited by ADutheil on Thu May 02, 2013 2:25 pm, edited 2 times in total.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: New FWH 13.04

Postby ADutheil » Thu May 02, 2013 2: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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: New FWH 13.04

Postby byte-one » Thu May 02, 2013 3: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: New FWH 13.04

Postby byte-one » Thu May 02, 2013 7:10 pm

Antonio, already send the combobox.prg to your private email!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: New FWH 13.04

Postby ADutheil » Sun May 05, 2013 10:55 am

Up.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests