RE: Win32Lib IDE
- Posted by daryl_vdb at HOTMAIL.COM Mar 15, 2001
- 487 views
To Judith: Could you make the code editor display all the routines at once, similar to vb? This could let you scatter (General) code and declarations anywhere in the program, in between procedures. >euphoria_coder at HOTMAIL.COM wrote: > > Judith wrote: > > > > >I get to {General} in the dropdown Events combo box just fine and coded > > >for > > >Window1 and PushButton. > > > > Ok, this just seems to be a matter of some small confusion. > > > > As currently coded, it appears that each control has it's own > > '(General)' > > area. > >Yes that was so you can place procedures/functions not related to an >onEvent intermingled with the onEvent procedures. I was just following >the method used in the original IDE. I discovered, by accident, that one >could code 'general' for a control and didn't realise that should not >happen. I have since discovered call_proc and can refer in an procedure >a routine that is defined later in the program. > >I also like to define variables right before the routine they are first >used in. These are not variables local to the following procedure where >they are defined within the procedure but variables that may be used in >several following procedures. Perhaps this is not good coding technique? > > > > > > But there is only supposed to be *one* general area. It gets placed in > > the > > output after the controls are defined (so they can be referenced), but > > before the event routines (so they can use the general code). > > > > It should appear as an option at the top of the control list (on the > > left), > > not the event list. When it is selected, the event list should display a > > > > single option of "(General)", or some such - someone with a copy of VB > > can > > correct me here as to the exact syntax. > >Editor is going to be rewritten and these concerns can be addressed at >that time. > > > > > Does this make sense? > >Yep. > > > > Thanks! > > > > -- David Cuny > > > > > >Thanks David, > >Judith > > >