Comboboxes with Wbrowse of Hernán

Comboboxes with Wbrowse of Hernán

Postby jose_murugosa » Sun Nov 26, 2006 7:40 pm

Hi to Everybody,

Thanks for your help, because of it, I am working with Wbrowse of Hernán and with comboboxes in cells :D , But they don´t look very well :? .

Image

Does somebody repair this unperfection?

If somebody has a solution, please, I will apreciate it :wink: .

Thanks
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1179
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Postby Silvio » Mon Nov 27, 2006 9:33 am

there was an old class to use with twbrowse : I must found it on my cds
wait...
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Comboboxes with Wbrowse of Hernán

Postby Rimantas » Mon Nov 27, 2006 9:33 am

jose_murugosa wrote:Hi to Everybody,

Does somebody repair this unperfection?
If somebody has a solution, please, I will apreciate it :wink: .



Hi Jose !

The solution is in twbrowse.prg . Please , search methods EditCols and etc. . You will find something similar as in below :

Code: Select all  Expand view
      case aItems != nil
           @  aPos[ 1 ] + 1, aPos[ 2 ] + 1 COMBOBOX ::oGet VAR uVar ITEMS aItems ;
              SIZE nWidth, Max( 200, Len( aItems ) * 25 ) OF Self ;
              FONT oFont COLOR nClrFore, nClrBack ;
              ON CHANGE ::End() ;
              PIXEL


In this place you can change parameters of combobox view height and width .

Hope this help to you . Regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Postby jose_murugosa » Tue Nov 28, 2006 12:46 pm

Rimantas,

I already tried to change height and width in both comboboxes (for arrays and for logical vars) without good results, If you resolve this problem could you please send me a copy of your wbrowse.prg so I can see how you did this changes.

My e-mail is jmurugosa@hotmail.com

Thanks for your post, and your help. :D
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1179
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Otto and 59 guests