The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 457
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0

#1 Post by digitsoft »

hello Roger
The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0


@ 6.5,00.0 DCSAY "Nº Banco:" SAYSIZE 10.5,1.0 HIDE {|| LEFT(cFormaPago,2) $ {"05","09","12"} }
@ 6.4,12.0 DCCOMBOBOX cCodBco LIST aCodBco TYPE XBPCOMBO_DROPDOWNLIST SIZE 60.2,15 ;
COLOR GRA_CLR_BLUE,GRA_CLR_WHITE ;
REFRESH ;
WHEN {|| lNuevo .AND. !EMPT(cCodCli) .AND. LEFT(cFormaPago,2) <> "01" } ;
HIDE {|| LEFT(cFormaPago,2) $ {"05","09","12"} }
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4737
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0

#2 Post by rdonnay »

I will give this a look.

Thank you for reporting it.
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4737
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0

#3 Post by rdonnay »

Your sample required too much work to figure out your problem.

The HIDE clause DOES work with the below code. I suggest that you modify this code and show me what changes you would make to cause it to fail.

Code: Select all

#INCLUDE "dcdialog.CH"

FUNCTION Main()

LOCAL aType := {'Star-Trek','Hollywood','Sports','Other'},;
      cType := Space(15), GetList[0], lHideCombo := .f.

@  0,0 DCCOMBOBOX cType LIST aType SIZE 12,6 HIDE {||lHideCombo}

@ 2,0 DCCHECKBOX lHideCombo PROMPT 'Hide Combo' ;
      ACTION {||DC_GetRefresh(GetList)}

DCREAD GUI FIT TITLE 'Combobox test'

RETURN nil

* ---------

PROC appsys ; return
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 457
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: The HIDE clause does not work in DCCOMBOBOX with Alaska 2.0

#4 Post by digitsoft »

I attach an example
If you change HP Lasert for Fiscal Printer and change it again for HP Lasert it does not present the same information, in xBase 1.9.255 it works fine but since I complied with 2.0 I have that problem

Thank you.
Attachments
Roger.zip
(28.77 KiB) Downloaded 54 times
Nolberto Paulino
Regards

Post Reply