Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Frame background

24 views
Skip to first unread message

SDavis

unread,
Jul 21, 2009, 2:51:04 PM7/21/09
to
I'm using PFC and a frame window that shows a background of
dark gray even though I've set it to white or other colors.
Does anyone know why? It inherits from w_frame, do I need
to change the color of that window?

Thanks.

Brad Wery[TeamSybase]

unread,
Jul 21, 2009, 3:05:10 PM7/21/09
to
In code, try changing the color of the MDI Client on the frame window:

this.MDI_1.Backcolor = ... (or Background I forget)

--

*********************************************************************************************************
www.PowerToTheBuilder.com
- Take control of your GUI with a free PB user control library
- Get updates from my blog - blog.PowerToTheBuilder.com
- Get support from - forum.PowerToTheBuilder.com

*********************************************************************************************************
www.Werysoft.com
- Full featured database development tool for ASE, SQL Server, SQL
Anywhere and Oracle

Get productive today!

*********************************************************************************************************

SDavis

unread,
Jul 21, 2009, 7:16:10 PM7/21/09
to
That worked - thanks!

cdd...@gmail.com

unread,
Mar 18, 2016, 6:33:47 AM3/18/16
to
hi all
place a button(x=69,y=92,width=55,height=48) in the frame then place this script in resize event of frame.
mdi_1.Resize ( newwidth, ( newheight - ( cb_1.y + cb_1.height ) ) ) mdi_1.Move ( 0, ( cb_1.height + cb_1.y ) )

then place
this.MDI_1.BackColor = il_appColor in the open event...

dellu
--
0 new messages