FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Color of un-redefined Say Objects
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Color of un-redefined Say Objects
Posted: Mon Sep 12, 2011 02:21 AM
MarcoBoschi wrote:In your opinion is it a bug or is a normal behaviour?

Not a bug at all.

There are two alternative ways:
Alternative-1:

Code (fw): Select all Collapse
ACTIVATE DIALOG oDlg ON INIT ( oBrw:SetColor( CLR_BLACK, CLR_WHITE ))


You may also add oBrw:lTransparent := .f. also in the INIT clause.
Alternative-2:

Please add this inline method to your derived class TMyWBrowse:
Code (fw): Select all Collapse
   METHOD Initiate( hDlg ) INLINE ( ::lTransparent := .f., Super:Initiate( hDlg ) )

In this case, you do not have to do anything in the INIT clause of the dialog.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Color of un-redefined Say Objects: SOLVED
Posted: Mon Sep 12, 2011 08:34 AM

Great
Now it works!

King regards

Marco

Marco Boschi
info@marcoboschi.it

Continue the discussion