Page 1 of 1

Comboboxes with Wbrowse of Hernán

Posted: Sun Nov 26, 2006 7:40 pm
by jose_murugosa
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

Posted: Mon Nov 27, 2006 9:33 am
by Silvio
there was an old class to use with twbrowse : I must found it on my cds
wait...

Re: Comboboxes with Wbrowse of Hernán

Posted: Mon Nov 27, 2006 9:33 am
by Rimantas
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

      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 !

Posted: Tue Nov 28, 2006 12:46 pm
by jose_murugosa
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