Page 1 of 1

Panel Color

Posted: Mon Aug 10, 2009 5:39 am
by muthym
i`m trying to use panel`s color but it`s not working. i tried also the panel test. but when i`m applying the color, not also working.

Panel Color

Posted: Mon Aug 10, 2009 6:40 am
by PaPi
Hi muthym, you can find here the program for your problem:

Fnxbasic forum ? General Category ? Files
topic: Panel object test,    08/21/07 by Fernando

This program is fine.

PaPi


Panel Color

Posted: Mon Aug 10, 2009 9:35 am
by muthym
Yes, i tried that, it`s running but i can`t apply color for panel. i tried this simple code just to test if it`s working or not. can you check pls. what`s wrong...

object form1 as form
     caption="Panel Color Test"
     width=640
     height=480
`      color=&h0000BB
`      color=rgb(0,255,0)
     object panel1 as panel
           left=100
           top=100
           width=200
           height=200
           color=&h0000BB
`            color=rgb(0,255,0)
     end object
end object

form1.showmodal

Panel Color

Posted: Mon Aug 10, 2009 12:10 pm
by muthym
I found out the reason.. when using manifest, the color will not take effect (panel). is this a bug or there`s an alternative solution for this?

Panel Color

Posted: Mon Aug 10, 2009 12:44 pm
by fred
In forum:
no need for manifest with xp
http://fnxbasic.com/yabb/YaBB.pl?num=1228235481/0#0

Panel Color

Posted: Mon Aug 10, 2009 6:03 pm
by PaPi
Hi

1. Your program can run, and I see the color 0000BB
2. yes, no need manifest...      ...I have XP, without manifest.

best regards
PaPi