>For Grid find method check
Re: GridExtras class by Craig Boyd Thread #
1371947 great one... cool stuff... good work.... thanks Naomi
>>Hi...
>>
>>Here is the issue.. If I have more than 1 browser.. I'd like to run some code when every browse window is clicked/activate:
>>
>>ps: I already try when clause by "when _screen.form1.runsomemethod()" but it goes to a weird behavior and the application crash
>>
>>
>>lnwidth = SYSMETRIC(1)-thisform.Width-30
>>lnheight = SYSMETRIC(2)-260
>>lcname = SYS(2015)
>>DEFINE WINDOW (lcname) ;
>> AT 0.769, 0.200 ;
>> SIZE lnheight,lnwidth ;
>> FONT "MS Sans Serif", 8 ;
>> STYLE "N" FLOAT ZOOM CLOSE GROW MINIMIZE DOUBLE
>>
>>ACTIVATE WINDOW (lcname) top
>>
>>Browse Window (loobj.Name) NAME loobj NOWAIT;
>> TITLE "Browse data of " + ThisForm.List1.value
>>
>>*loobj = EVALUATE("_SCREEN."+lcname)
>>
>>BINDEVENT(loobj,"Activate",thisform,"runsomemethod")
>>
>>
>>How should I run a code when end-user activate each browse window? I didn't use an object form/grid because I'd like to allow the use of CTRL+F find
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20