bInit on MDI oWnd:ChildNew() - UNSOLVED

bInit on MDI oWnd:ChildNew() - UNSOLVED

Postby fraxzi » Wed Oct 22, 2014 1:48 am

Dear All,

How can I assign bInit when oMDI:ChildNew() is called? So each time I call oMDI:ChildNew() function this bInit will execute..
Last edited by fraxzi on Tue Oct 28, 2014 12:26 am, edited 1 time in total.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: bInit on MDI oWnd:ChildNew()

Postby Enrico Maria Giordano » Wed Oct 22, 2014 5:52 pm

Frances,

did you try using ON INIT clause of ACTIVATE WINDOW command?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: bInit on MDI oWnd:ChildNew()

Postby fraxzi » Wed Oct 22, 2014 11:29 pm

Enrico Maria Giordano wrote:Frances,

did you try using ON INIT clause of ACTIVATE WINDOW command?

EMG



Enrico,

when you call oMDI:ChildNew() the window child already activated.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: bInit on MDI oWnd:ChildNew()

Postby Antonio Linares » Thu Oct 23, 2014 7:02 am

Frances,

oMDI:ChildNew()
Eval( oMDI:bInit, oMDI )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bInit on MDI oWnd:ChildNew()

Postby fraxzi » Thu Oct 23, 2014 7:26 am

Antonio,

The child window already created before binit.. so a delay.. unlike when activating window there's ON INIT clause.

But if this is not possible, I have to resort in manually declaring DEFINE WINDOWS ... ACTIVATE WINDOW..
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Maurizio, nageswaragunupudi, richard-service and 55 guests