Using D5 Pro, I have an UpDown control on a tabsheet on a pagecontrol.
The UpDown is associated with an edit box which has an OnChange
procedure assigned.  For some strange reason, the OnChange event of the
edit box is triggered when the tabsheet is displayed for the first time.
ie. When I click on the tab which displays it on the screen.  Clicking
another tab and then returning to the same tab does not trigger it, just
the first time.

Any ideas why this is?

I've got around it in a mucky way by removing the OnChange procedure in
the IDE and assigning it on the tabsheets OnShow event.  Is there
something I'm missing?

Cheers,
Ross Levis.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to