You are not logged in.

A1880

Intermediate

  • "A1880" is male
  • "A1880" started this thread

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

1

Thursday, October 29th 2009, 7:08pm

Tool for hex/dec/bin conversion demonstrates events

Hi,
here is a small tool which demonstrates event handlers in Jabaco.

In contrast to VB6 events, Jabaco/swing events behave a bit differently.
One big difference is that changes in the control do spawn an event regardless if they come from user interaction or from program execution.
Therefore, one has to take care to prevent events triggered from within an event handler. In simple cases this can be achieved by a global
boolean flag which indicates that an event handler is executing. This is demonstrated in the sample.

Cheers

A1880
A1880 has attached the following file:
  • decHexBin.zip (5.1 kB - 445 times downloaded - latest: Oct 27th 2021, 10:05am)

Rate this thread
WoltLab Burning Board