Wish event information

apti

Member
In other IDE's it will give me options for events. so for example lets say we have a button named btn1. now in the IDE when I type

sub btn1_ as soon as I hit the underscore I get options pop up such as _click _doubleclick _mouseover and so on. this way I know what all the possible options are instead of having to guess at them.

This would be great for users new and old and make errors less likely.
 

apti

Member
I beg to differ. I just tried it and no it is not there.

lets say that I have a control called btnOK when I type in sub btnok the only thing I get is something that is already defined. I do not get any other possible events. When I suggest this option I am not talking about just getting a list of what is already defined, I am talking about showing me a list of all possible events including ones not defined already. for example if I use btnOK I get to see only btnOK_Click but btnOK_LongClick is not an option unless I define that previously. I am on 13.00 and that is how it works. I am asking about seeing btnOK_***** everything that it could be including currently undefined procedures as long as they are possible for the control. For an example of this you need only look as far as visual studio which has this behavior.
 

stevel05

Expert
Licensed User
Longtime User
Don't type Sub BtnOK, type Sub then a space then press the tab key, you'll get a list of available types, select one and you'll get the available events. You type the view name last once you've chosen the event type.

note: works with Public Sub and Private Sub too.
 

apti

Member
Don't type Sub BtnOK, type Sub then a space then press the tab key, you'll get a list of available types, select one and you'll get the available events. You type the view name last once you've chosen the event type.

note: works with Public Sub and Private Sub too.
very convoluted method and not very intuitive. would be much improved if actual control names were shown that are accessible, then the events for it. The method used is not very user friendly but does get closer to what I am thinking.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
very convoluted method and not very intuitive. would be much improved if actual control names were shown that are accessible, then the events for it
Once you get used to it, you will find it to be convenient. You can also see the list of events if you hover over the type:

1742881147023.png
 
Top