|
Hi
Ross,
You
need to time it.
I
don't know how you implement Option.ItemIndex.
If you
think both are slow, you may introduce a temp i.e.
bEnabled := Option.ItemIndex = 1;
Label1.Enabled := bEnabled;
Label2.Enabled := bEnabled; By the way, I don't
think this speed improvement should attract your attention.
Regards
Leigh
|
- [DUG]: Just wondering... Ross Levis
- Re: [DUG]: Just wondering... Moises Lopez
- Re: [DUG]: Just wondering... Leigh Wanstead
- Re: [DUG]: Just wondering... Rohit Gupta
- Re: [DUG]: Just wondering... Dennis Chuah
- Re: [DUG]: Just wondering... Ross Levis
- RE: [DUG]: Just wondering... David Brennan
- Re: [DUG]: Just wondering... Neven MacEwan
- RE: [DUG]: Just wondering... Leigh Wanstead
- Re: [DUG]: Just wondering... Dennis Chuah
- Re: [DUG]: Just wondering... Pedrocelli
- Re: [DUG]: Just wondering... Ross Levis
- Re: [DUG]: Just wondering... Dennis Chuah
