Aah sure - because of the containers...
I tried it, and it runs well, but I cannot catch action on the scroll
bars of the treeview - and nothing comes from the menu and from the
program window as well.
But it wouldn't disturb so much, so I think, this is a pretty good
solution, thank you!
Wha
Sure, i forgot that ther may be containers :)
-Ursprüngliche Nachricht-
Von: Fabien Bodard [mailto:gambas...@gmail.com]
Gesendet: Mittwoch, 7. September 2011 19:12
An: i...@eilert-sprachen.de; mailing list for gambas users
Betreff: Re: [Gambas-user] Does really nobody have an idea?
Priva
Private Sub SetAllObservers(hCont as Container)
dim hObj as Object
Dim hObs as Observer
For each hObj in hCont.Children
hObs = new Observer(hObj) As "WatchAll"
if hObj Is Container then SetAllObservers(hObj)
Next
End
in Form_Open or in _New :
Public Sub _New()
SetAllObse
> > And where will these file descriptors come from?
>
> ...from ALSA.
>
> If I have a Gambas3-program, able to *receive* data Midi from ALSA
> (external Midi-Keyboard-->ALSA-sistem--->My-Gambas-Program), I could use
> "snd_seq_poll_descriptors_count()" and "snd_seq_poll_descriptors()" ALSA
> fun
normal ... the function must be iterative... to take all the child of
containers into account
2011/9/7 Rolf-Werner Eilert :
> Hi Andreas,
>
> Thanks! Looks nice... I tried to integrate it into the program. It DOES
> function, but only if I click on the panel below the menu. All other
> controls in
Hello,
here's my idea. In Form_Open use the following Code:
DIM OBJ as Object
DIM OBSwatchall AS Observer
'Start an Observer for Each Control on this Form
FOR EACH OBJ IN ME.Children
OBSwatchall = NEW Observer(OBJ) AS "WatchAll"
NEXT
Then you only need one Function Like:
Public SUB WatchAll
Hi Andreas,
Thanks! Looks nice... I tried to integrate it into the program. It DOES
function, but only if I click on the panel below the menu. All other
controls in the program seem to be ignored. Same with MouseUp. KeyPress
doesn't react at all. Here is it:
PUBLIC SUB Form_Open()
DIM OBJ AS O
Well, after hex-editor inspection, the 'dot' isn't converted; the converted
char seems to be a "soft line break" automatically introduced after 32
characters (I don't know why, but the specs says a line must be at max 76
chars long). The other part of the problem is that MY OWN smtp server
(minima