Problem with combobox

Problem with combobox

Postby Silvio.Falconi » Thu Feb 21, 2019 10:09 am

I tried with bitmpas size 16 and 24 ( only bmp file)

Image


@ oBrw1:nBottom+20,125 COMBOBOX oCbx2 VAR nTariffeshow ITEMS aShowTariffe ;
SIZE 200,150 PIXEL OF oDlgTariffe ;
ON CHANGE (FiltraShowTariffe(oBrw2,oCbx2:nat,oTariffeMultipli),;
oDlgTariffe:AEvalWhen(), oCbx3:refresh()) ;
BITMAPS aSelectBmp ;
STYLE CBS_DROPDOWNLIST

I open the dialog with
DEFINE DIALOG oDlgTariffe SIZE 880,600;
PIXEL TRUEPIXEL RESIZABLE FONT oFont


How I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with combobox

Postby cnavarro » Thu Feb 21, 2019 10:20 am

increases the width of the combobox and try

SIZE 200,150
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Problem with combobox

Postby Otto » Thu Feb 21, 2019 10:25 am

Hello Silvio,
for me this is working.
Best regards,
Otto
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Problem with combobox

Postby Silvio.Falconi » Thu Feb 21, 2019 11:22 am

I tried with

@ oBrw1:nBottom+20,125 COMBOBOX oCbx2 VAR nTariffeshow ITEMS aShowTariffe ;
SIZE 200,180 PIXEL OF oDlgTariffe ;
ON CHANGE (FiltraShowTariffe(oBrw2,oCbx2:nat,oTariffeMultipli),;
oDlgTariffe:AEvalWhen(), oCbx3:refresh()) ;
BITMAPS aSelectBmp ;
STYLE CBS_DROPDOWN

Not run and then I have an error when I close the dialog

Application
===========
Path and name: C:\Work\Errori\Tariffe_tdata\Tariffe.Exe (32 bits)
Size: 3,951,104 bytes
Compiler version: Harbour 3.2.0dev (r1712141320)
FiveWin version: FWH 18.12
C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
Windows version: 6.1, Build 7601 Service Pack 1

Time from start: 0 hours 0 mins 51 secs
Error occurred at: 21-02-2019, 12:21:47
Error description: Error BASE/1072 Argument error: <>
Args:
[ 1] = N 1
[ 2] = C

Stack Calls
===========
Called from: .\source\classes\TGET.PRG => TGET:LOSTFOCUS( 2083 )
Called from: .\source\classes\CONTROL.PRG => TGET:KILLFOCUS( 1150 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1764 )
Called from: .\source\classes\TGET.PRG => TGET:HANDLEEVENT( 1151 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3541 )
Called from: => ENDDIALOG( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:END( 698 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 448 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1136 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 304 )
Called from: Tariffe.prg => TARIFFE( 373 )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with combobox

Postby Silvio.Falconi » Thu Feb 21, 2019 1:18 pm

i THINK TH EPROBLEM IS THE FIRST ITEM NOT HAVE THE BITMAP
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 56 guests