Panel Color

In this category you can exchange your programming questions and solutions.
Post Reply
muthym
Posts: 6
Joined: Sat Aug 08, 2009 12:19 pm

Panel Color

Post: # 479Post muthym
Mon Aug 10, 2009 5:39 am

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.

PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

Panel Color

Post: # 480Post PaPi
Mon Aug 10, 2009 6:40 am

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


muthym
Posts: 6
Joined: Sat Aug 08, 2009 12:19 pm

Panel Color

Post: # 481Post muthym
Mon Aug 10, 2009 9:35 am

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

muthym
Posts: 6
Joined: Sat Aug 08, 2009 12:19 pm

Panel Color

Post: # 482Post muthym
Mon Aug 10, 2009 12:10 pm

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?

fred
Posts: 54
Joined: Thu Apr 23, 2009 10:08 am

Panel Color

Post: # 483Post fred
Mon Aug 10, 2009 12:44 pm

In forum:
no need for manifest with xp
http://fnxbasic.com/yabb/YaBB.pl?num=1228235481/0#0

PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

Panel Color

Post: # 484Post PaPi
Mon Aug 10, 2009 6:03 pm

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

Post Reply