Have a look at the Login sample. It capture events from DialogX
controls: notice it does something interesting with the "_" character.

George Henne                                     
NS BASIC Corporation
http://www.nsbasic.com 

>I have been away a while and obviously suffer from a memory problem.
>I have a button declared on a DialogX form and the click event doesn't
>work.
>I put the button on the main form with the same name and it works.
>
>This says to me that there is a problem with my naming.
>
>The button was declared in a DialogX sub...
>
>  dTitle.AddObject "CommandButton", "bInfo", 210, 75, 45, 12
>  dTitle.SetCaption "bInfo", "Info"
>
>sub bInfo_click
>  MsgBox("OK")
>end sub
>
>I tried sub dTitle.bInfo_Click but a message said "...expected '(' "
>
>I am sure I have had this sort of thing working previously, any memory
>jogger would be of great assistance. Thanks
>
>
>------------------------------------
>
>Yahoo! Groups Links
>
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to