TRadMenu bug with pixel metrix

Post Reply
User avatar
claudio.driussi
Posts: 18
Joined: Fri Nov 11, 2005 4:46 pm

TRadMenu bug with pixel metrix

Post by claudio.driussi »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
claudio.driussi
Posts: 18
Joined: Fri Nov 11, 2005 4:46 pm

Post by claudio.driussi »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Claudio,

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

Antonio Linares
www.fivetechsoft.com
Post Reply