Btn Code (Urgent please)

mapat

Registered User.
Local time
Today, 08:58
Joined
Feb 2, 2007
Messages
176
Hello everyone,

This is a database someone else created so I do not know where exactly the code is. There is a button that when clicked, it does something (let's say open another form). Now the strange thing is that this button has no OnClick event or any other type of other event assigned to it, so I can not go to the part of the code to see what exactly the click of the button does.

Does anyone have a clue about this?

Thank you very much.
 
Is it possible that this button is actually part of an option group, and that the option group has a click event.
 
There are possibilities. (Including Bob's if it's a toggle button).

The Event Procedure property assignment could be done at runtime - or to refer to a function name in the event property.
The event could have been sinked/subclassed.

You might have mistaken clicking the button for something else (for example a transparent button over the top of it - less likely I know, not trying to be insulting ;-)

If you can't identify the issue, posting the app itself could be the only way for us to say definitively.
 
>> let's say open another form <<

Another possibility is that could be assigned as hyperlink ...

So recapping ...

- Part of an option group, so the code is tied to the option group
- The event property is set to a procedure call.
- The event property is managed during runtime (ie: the event property is set/un-set during the running of the application, not in design view of the form).
- Sub-Classed using With Events
- Hyperlink ..
- Hidden button over the top ..

I think that covered what we all suggested ... :)
 

Users who are viewing this thread

Back
Top Bottom