TRadMenu bug with pixel metrix

TRadMenu bug with pixel metrix

Postby claudio.driussi » Sun Nov 13, 2005 4: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
User avatar
claudio.driussi
 
Posts: 18
Joined: Fri Nov 11, 2005 4:46 pm

Postby Antonio Linares » Mon Nov 14, 2005 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Mon Nov 14, 2005 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby claudio.driussi » Mon Nov 14, 2005 7: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
User avatar
claudio.driussi
 
Posts: 18
Joined: Fri Nov 11, 2005 4:46 pm

Postby Antonio Linares » Mon Nov 14, 2005 8:41 am

Claudio,

Yes, the problem is with lPixel as .f.
regards, saludos

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


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 4 guests