FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC TRadMenu bug with pixel metrix
Posts: 18
Joined: Fri Nov 11, 2005 04:46 PM
TRadMenu bug with pixel metrix
Posted: Sun Nov 13, 2005 04:36 PM

I found a bug in TRadMenu, the line 112:

AAdd( ::aItems, TRadio():New( nRow + ( n - 1 ) , nCol, acItems[ n ],;

seems to be changed to:

AAdd( ::aItems, TRadio():New( nRow + ( n - 1 )*nStep , nCol, acItems[ n ],;

Best regards.

Claudio

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
TRadMenu bug with pixel metrix
Posted: Mon Nov 14, 2005 07:02 AM

Claudio,

Yes, you are right. nStep was not being used.

have you tried it ? Does it works ok ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
TRadMenu bug with pixel metrix
Posted: Mon Nov 14, 2005 07:13 AM

Claudio,

In our tests it seems that we should better not use it and leave the code as it is right now. It looks better.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 18
Joined: Fri Nov 11, 2005 04:46 PM
TRadMenu bug with pixel metrix
Posted: Mon Nov 14, 2005 07:39 AM
Antonio Linares wrote:Claudio,

In our tests it seems that we should better not use it and leave the code as it is right now. It looks better.


I tried modified code with pixel metrix and it works fine for me, with the original code radio buttons disappare. I did'nt tried with pixel switch off.

Best regards.
Claudio
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
TRadMenu bug with pixel metrix
Posted: Mon Nov 14, 2005 08:41 AM

Claudio,

Yes, the problem is with lPixel as .f.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion