View Single Post
  #3 (permalink)  
Old 01-29-2008, 01:28 PM
dirk
Guest
 
Posts: n/a
Default Re: checkbox evaluates sBlock other than wvw pushbutton -> problem!bug?

Luiz,

same problem, cause it is the same: @ pushbutton ==> will be
translated in wvwtools.ch to WvW_BuildGetObject ==> will be translated
in getsys.prg to MyPushButtonObject ==> will be executed in
gpushbtn.prg as WvwPushButton():New()

I have tried since 6 month every way I could find, but nothing works.
in my opinion, it is a bug

regards

dirk



On 29 Jan., 13:26, "Luiz Rafael Culik" <l...@xharbour.com.br> wrote:
> Dirk
>
> why dont you use wvwtools @ pushbutton ?
>
> Regards
> Luiz"dirk" <dirk.bl...@t-online.de> wrote in message
>
> news:ebcac0b4-5422-4c99-a8ec-73e12175f37d@q77g2000hsh.googlegroups.com...
>
> > Hi,

>
> > problem with wvw buttons:

>
> > local nRet := 0
> > aOptions := {"Ok", "Cancel", "Info"}
> > for i := 1 to len(aOptions)
> > wvwpushbutton():new( 4, i*15, aOptions[i], {||
> > alert( str( i ) ) })
> > next

>
> > alert shows always 4

>
> > using checkbox insteed of buttons the returned value is correct.

>
> > how is it possible to bind the actual value of i to the actual button
> > object?!?

>
> > best regards

>
> > dirk


Reply With Quote