N
Niklas Östergren
Hi!
I have a QBF (unbound form) with some checkboxes on and a couple of cmd:s. I
have set propertie <Enable> for one cmd to *False* as default. Now I want to
set <Enable = True> if any of the checkboxes is checked (-1). I have a
couple of cmd´s more that I will do the same thing with, on the same form,
later on.
No to my Q:
Which event shall I use on the unbound form?
I know a couple of ways to do this on but I don´t like any of them. The
first one is to check every checkbox status in each checkbox click_event.
This will be a lot of places with the sam check = lot´s of code.
Another way is to create a function which I call from the same event in each
checkbox. A little less code but still much for a simple task as this!
Any idéas?
TIA!
// Niklas
I have a QBF (unbound form) with some checkboxes on and a couple of cmd:s. I
have set propertie <Enable> for one cmd to *False* as default. Now I want to
set <Enable = True> if any of the checkboxes is checked (-1). I have a
couple of cmd´s more that I will do the same thing with, on the same form,
later on.
No to my Q:
Which event shall I use on the unbound form?
I know a couple of ways to do this on but I don´t like any of them. The
first one is to check every checkbox status in each checkbox click_event.
This will be a lot of places with the sam check = lot´s of code.
Another way is to create a function which I call from the same event in each
checkbox. A little less code but still much for a simple task as this!
Any idéas?
TIA!
// Niklas