Can this be done ?

Can this be done ?

Postby HunterEC » Thu Aug 18, 2016 10:42 am

I'm calling a FWH (GUI) program from a harbour console (text) one. The FWH program displays an image, but I want to return control to the caller (console) one leaving the image open. Here's the code but it's not working:
Code: Select all  Expand view
ACTIVATE DIALOG oDlg ON PAINT SetFocus( FindWindow( 0, cCaller ) )
 


cCaller has the correct caption for the caller program.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: Can this be done ?

Postby cnavarro » Thu Aug 18, 2016 10:51 am

Ah!, I do understand

Please test ACTIVATE DIALOG............... NOMODAL
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Can this be done ?

Postby HunterEC » Thu Aug 18, 2016 12:52 pm

Cristobal:

De programa closes itself with the NOMODAL clause.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests

cron