General information
Category:
Coding, syntax & commands
>>Focus is on form1. Have a form2.setfocus in my menu procedure. It does not seem to be working. Can the menu setfocus?
>>
>>Thanks - Brenda
>Yes it can, but you have to provide direct reference to this form. There are two ways to get this reference, either you get it on-fly by searching through _SCREEN.Forms() collection or keep it in some pre-defined collection when you start a form (DO FORM ... NAME ... LINKED)
>Edward Pikman
I have a toplevelform that was created with a "oSDI=CREATEOBJECT("TOPFORM")". Have a modeless form that is was created with a "opptag=CREATEOBJECT("PPTAG")". opptag has a browse window (changing to a grid is not an option at this time). When focus is on the browse window, modal forms ("do form" from the menu) will not show. When i click on the opptag (browse does not have focus), the modal forms will show. When i click on the osdi and then go to the menu, the modal forms show.So thought in the menu I would either osdi.clicked() or opptag.click() before "do form" - but these did not work.
need to take focus off the browse window (or opptag) in the menu.you any ideas why my osdi.click is not working?
thanks - brenda
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only