Page 1 of 1
oFolder:SetColor()
Posted: Fri Sep 21, 2007 11:41 am
by Willy
I Tried this and this does not work.
Is there a way to change the color of a folder.
Thanks
Willy.
Posted: Fri Sep 21, 2007 11:59 am
by Antonio Linares
Willy,
If you are using XP themes then you can't change the folder color
You can change the color of the dialogs that the folder manages oFld:aDialogs
Posted: Fri Sep 21, 2007 12:03 pm
by Willy
Thanks Antonio,
I have also tried with
oFold1:aDialogs[1]:Setcolor()
But this does also not work
Posted: Sat Oct 20, 2007 3:05 pm
by Otto
Hello Antonio,
could you please post a bit of code how to change the color of the folder dialogs.
Thanks in advance
Otto
Posted: Sun Oct 21, 2007 8:25 am
by Willy
When you use this line in your Resources file, it will not work
Otherwise you can use this
Code: Select all
oDlg:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:aDialogs[1]:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:aDialogs[2]:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:aDialogs[3]:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:aDialogs[4]:SetColor(Rgb(0,0,0),Rgb(200,200,255))
oFold1:aDialogs[5]:SetColor(Rgb(0,0,0),Rgb(200,200,255))
It works with me.
Greetings
Willy
Posted: Sun Oct 21, 2007 8:38 am
by Otto
Thank you, Willy. It is working.
Do you also know how to change the TAB of the folder?
Thanks in advance,
Otto
Posted: Sun Oct 21, 2007 8:54 am
by Enrico Maria Giordano
Try assigning oFolder:aPrompts[ n ] and refresh the folder (not tested).
EMG
Posted: Sun Oct 21, 2007 11:16 am
by Otto
How do you assingn?
I tried
oFld:aPrompts[ 1 ]:SetColor(Rgb(0,0,0),Rgb(168,207,110))
but get no exported method.
Regards,
Otto
Posted: Sun Oct 21, 2007 11:19 am
by Enrico Maria Giordano
Otto wrote:Do you also know how to change the TAB of the folder?
I thought you wanted to change the prompt of a TAB.
EMG