COMBOMETRO

COMBOMETRO

Postby Otto » Mon Nov 30, 2015 6:35 pm

Dear Antonio,
please try in touch.prg of the FW-samples to use following prompts:

PROMPTS { " ", "Europe", "asia", "Africa", "America", "Oceania" , "NEU KATEGORIE" } ;

If there is an empty item you get wrong values.

Best regards,
Otto

Code: Select all  Expand view
@ nRow, 20 SAY "Area:" OF oPanel FONT oFontMed SIZE 85, 35 PIXEL TRANSPARENT
     @ nRow,120 ;
  COMBOMETRO cCountry ;
     PROMPTS { "  ",  "Europe", "asia", "Africa", "America", "Oceania" , "NEU KATEGORIE"      } ;
          OF oPanel ;
        SIZE 200, 40 ;
       PIXEL ;
        FONT oFontMed ;
       COLOR CLR_WHITE, RGB( 0x33, 0x66, 0xCC )
 
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6066
Joined: Fri Oct 07, 2005 7:07 pm

Re: COMBOMETRO

Postby Antonio Linares » Tue Dec 01, 2015 8:59 am

Otto,

Class TComboMetro uses a CLASS TX8 inherited from TXBrowse

Surely Rao is able to provide us some guidance on this
regards, saludos

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

Re: COMBOMETRO

Postby nageswaragunupudi » Tue Dec 01, 2015 9:41 am

I am looking into this
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: COMBOMETRO

Postby nageswaragunupudi » Wed Dec 02, 2015 10:34 am

This is the fix:

Please locate this code in the method new() of tx8 class (line 392):
Code: Select all  Expand view
  for n := 2 to nLen
      if Upper( oCbx:aItems[ n ] ) < c
         lSorted  := .f.
         EXIT
      endif
   next
 


Please insert
Code: Select all  Expand view
     c  := Upper( oCbx:aItems[ n ] )
 

between "endif" and "next"

This fix is available in next version.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests