FillColor of PtComboBox

Hi!

I would like to change fill color of PtComboBox. I’ve tried
Pt_ARG_FILL_COLOR and Pt_ARG_CBOX_TEXT_FILL_COLOR and it didn’t work. Anyone
can help me?

I changed text and fill color of selected item and it worked fine, but I
couldn’t change the fill color of other items.

I’ve tried another solution that was replace PtComboBox by a PtList with one
visible item and that shows more four items with a scrollbar when its
activated. However, other widgets that are behind it hide the list. I know
that I may resolve this problem by putting the PtList in front of its
brothers (in the widget tree), but I have to keep the widget tree because of
the focus(with ) order.

Could anyone help me? Either telling me how to change fill color of a
PtComboBox or how to make a PtList always (just for a time) in front of its
brother without changing the widget tree

Thanks in advance,

Vanessa

Hello Vanessa,

I am able to change the background of the combo box with using the Pt_ARG_CBOX_TEXT_COLOR. To set the resource you could use something like the following.
PtSetResouce( ABW_button, Pt_ARG_CBOX_TEXT_COLOR, Pg_RED, 0);

Regards,
Dave B.


Vanessa Shimada <vanessa_s@dixtal.com.br> wrote:

Hi!

I would like to change fill color of PtComboBox. I’ve tried
Pt_ARG_FILL_COLOR and Pt_ARG_CBOX_TEXT_FILL_COLOR and it didn’t work. Anyone
can help me?

I changed text and fill color of selected item and it worked fine, but I
couldn’t change the fill color of other items.

I’ve tried another solution that was replace PtComboBox by a PtList with one
visible item and that shows more four items with a scrollbar when its
activated. However, other widgets that are behind it hide the list. I know
that I may resolve this problem by putting the PtList in front of its
brothers (in the widget tree), but I have to keep the widget tree because of
the focus(with ) order.

Could anyone help me? Either telling me how to change fill color of a
PtComboBox or how to make a PtList always (just for a time) in front of its
brother without changing the widget tree

Thanks in advance,

Vanessa

Hi, Dave!

I’ve tried to do that but there is no resource called
Pt_ARG_CBOX_TEXT_COLOR, did you mean Pt_ARG_CBOX_TEXT_FILL_COLOR? I tried to
use this too (exactly like you wrote) and it didn’t work either. I tried
both, changing directly by PhAB and by code.

Unfortunately I may not send you a example application right now because I
tried to update QNX to 6.1 version and PhAB is not working yet. I think I
have to install other packages before it may work again.

I know that is not the place to ask about that, but is there a way to remove
older versions of QNXRTP and other older packages that are in my computer? I
think some free space would be good. I tried to install other packages but
it seems I’d need to have around 520Mb and I only have 420Mb free.

Thanks again,

Vanessa


“Applications Mail Group” <apps@qnx.com> escreveu na mensagem
news:9i4jef$gq0$1@nntp.qnx.com

Hello Vanessa,

I am able to change the background of the combo box with using the
Pt_ARG_CBOX_TEXT_COLOR. To set the resource you could use something like the

following.

PtSetResouce( ABW_button, Pt_ARG_CBOX_TEXT_COLOR, Pg_RED, 0);

Regards,
Dave B.


Vanessa Shimada <> vanessa_s@dixtal.com.br> > wrote:
Hi!

I would like to change fill color of PtComboBox. I’ve tried
Pt_ARG_FILL_COLOR and Pt_ARG_CBOX_TEXT_FILL_COLOR and it didn’t work.
Anyone
can help me?

I changed text and fill color of selected item and it worked fine, but I
couldn’t change the fill color of other items.

I’ve tried another solution that was replace PtComboBox by a PtList with
one
visible item and that shows more four items with a scrollbar when its
activated. However, other widgets that are behind it hide the list. I
know
that I may resolve this problem by putting the PtList in front of its
brothers (in the widget tree), but I have to keep the widget tree
because of
the focus(with ) order.

Could anyone help me? Either telling me how to change fill color of a
PtComboBox or how to make a PtList always (just for a time) in front of
its
brother without changing the widget tree

Thanks in advance,

Vanessa

Hello Vanessa,

Sorry about that, you’re right I did mean to say Pt_ARG_CBOX_TEXT_FILL_COLOR. I used this in an application and it worked. When possible, could you post an example of this code for us to look at?

To answer your second question, if you want to remove software you can use the Package Manager. Select ‘View My Software’ and uncheck the software you don’t want. When your done selecting the software to uninstall, choose apply and your software will be removed.

Regards,
Dave B.



Vanessa Shimada <vanessa_s@dixtal.com.br> wrote:

Hi, Dave!

I’ve tried to do that but there is no resource called
Pt_ARG_CBOX_TEXT_COLOR, did you mean Pt_ARG_CBOX_TEXT_FILL_COLOR? I tried to
use this too (exactly like you wrote) and it didn’t work either. I tried
both, changing directly by PhAB and by code.

Unfortunately I may not send you a example application right now because I
tried to update QNX to 6.1 version and PhAB is not working yet. I think I
have to install other packages before it may work again.

I know that is not the place to ask about that, but is there a way to remove
older versions of QNXRTP and other older packages that are in my computer? I
think some free space would be good. I tried to install other packages but
it seems I’d need to have around 520Mb and I only have 420Mb free.

Thanks again,

Vanessa



“Applications Mail Group” <> apps@qnx.com> > escreveu na mensagem
news:9i4jef$gq0$> 1@nntp.qnx.com> …
Hello Vanessa,

I am able to change the background of the combo box with using the
Pt_ARG_CBOX_TEXT_COLOR. To set the resource you could use something like the
following.
PtSetResouce( ABW_button, Pt_ARG_CBOX_TEXT_COLOR, Pg_RED, 0);

Regards,
Dave B.


Vanessa Shimada <> vanessa_s@dixtal.com.br> > wrote:
Hi!

I would like to change fill color of PtComboBox. I’ve tried
Pt_ARG_FILL_COLOR and Pt_ARG_CBOX_TEXT_FILL_COLOR and it didn’t work.
Anyone
can help me?

I changed text and fill color of selected item and it worked fine, but I
couldn’t change the fill color of other items.

I’ve tried another solution that was replace PtComboBox by a PtList with
one
visible item and that shows more four items with a scrollbar when its
activated. However, other widgets that are behind it hide the list. I
know
that I may resolve this problem by putting the PtList in front of its
brothers (in the widget tree), but I have to keep the widget tree
because of
the focus(with ) order.

Could anyone help me? Either telling me how to change fill color of a
PtComboBox or how to make a PtList always (just for a time) in front of
its
brother without changing the widget tree

Thanks in advance,

Vanessa

Hi, again!

I’m just writing you now because I just could finish my update this morning.
I tested my application again and now Pt_ARG_CBOX_TEXT_FILL_COLOR works.

About my other question, I meant, for instance, photon 1.14 or other
versions that are not being used with QNX 6.1.0. Is it possible? But I’ll
post this question n the apropriate newsgroup.

Thanks,

Vanessa

“Applications Mail Group” <apps@qnx.com> escreveu na mensagem
news:9ice4j$b89$1@nntp.qnx.com

Hello Vanessa,

Sorry about that, you’re right I did mean to say
Pt_ARG_CBOX_TEXT_FILL_COLOR. I used this in an application and it worked.

When possible, could you post an example of this code for us to look at?

To answer your second question, if you want to remove software you can use
the Package Manager. Select ‘View My Software’ and uncheck the software you

don’t want. When your done selecting the software to uninstall, choose
apply and your software will be removed.

Regards,
Dave B.



Vanessa Shimada <> vanessa_s@dixtal.com.br> > wrote:
Hi, Dave!

I’ve tried to do that but there is no resource called
Pt_ARG_CBOX_TEXT_COLOR, did you mean Pt_ARG_CBOX_TEXT_FILL_COLOR? I
tried to
use this too (exactly like you wrote) and it didn’t work either. I
tried
both, changing directly by PhAB and by code.

Unfortunately I may not send you a example application right now because
I
tried to update QNX to 6.1 version and PhAB is not working yet. I think
I
have to install other packages before it may work again.

I know that is not the place to ask about that, but is there a way to
remove
older versions of QNXRTP and other older packages that are in my
computer? I
think some free space would be good. I tried to install other packages
but
it seems I’d need to have around 520Mb and I only have 420Mb free.

Thanks again,

Vanessa


“Applications Mail Group” <> apps@qnx.com> > escreveu na mensagem
news:9i4jef$gq0$> 1@nntp.qnx.com> …
Hello Vanessa,

I am able to change the background of the combo box with using the
Pt_ARG_CBOX_TEXT_COLOR. To set the resource you could use something like
the
following.
PtSetResouce( ABW_button, Pt_ARG_CBOX_TEXT_COLOR, Pg_RED, 0);

Regards,
Dave B.


Vanessa Shimada <> vanessa_s@dixtal.com.br> > wrote:
Hi!

I would like to change fill color of PtComboBox. I’ve tried
Pt_ARG_FILL_COLOR and Pt_ARG_CBOX_TEXT_FILL_COLOR and it didn’t work.
Anyone
can help me?

I changed text and fill color of selected item and it worked fine,
but I
couldn’t change the fill color of other items.

I’ve tried another solution that was replace PtComboBox by a PtList
with
one
visible item and that shows more four items with a scrollbar when its
activated. However, other widgets that are behind it hide the list. I
know
that I may resolve this problem by putting the PtList in front of
its
brothers (in the widget tree), but I have to keep the widget tree
because of
the focus(with ) order.

Could anyone help me? Either telling me how to change fill color of a
PtComboBox or how to make a PtList always (just for a time) in front
of
its
brother without changing the widget tree

Thanks in advance,

Vanessa
\