Home
Screenshots
Showcase
Features
Download
Purchase
Online Community
Documentation
Contact Us
Download the free trial version
Features
Tutorials and manuals
Showcase
Screenshots
Android Development Forum - Basic4android
>
Basic4ppc (Windows Mobile)
>
Questions (Windows Mobile)
VB color value
User Name
Remember Me?
Password
Documentation Wiki
Register
Members List
B4P Search
Today's Posts
Mark Forums Read
Questions (Windows Mobile)
Post any question regarding Basic4ppc.
VB color value
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
01-18-2008, 04:30 PM
Leginus
Junior Member
Join Date: Dec 2007
Posts: 27
VB color value
I have searched the forums but cannot seem to find an answer.
Is it possible to convert the long color values from vb into rgb??
e.g. txtTestBox.BackColor = 16777215
I found a solution on google but it was using the Hex keyword and I don't think that is supported yet.
thanks
#
2
(
permalink
)
01-18-2008, 04:48 PM
dzt
Basic4ppc Veteran
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Total Awards
: 2
Quote:
Originally Posted by
Leginus
...I found a solution on google but it was using the Hex keyword and I don't think that is supported yet.
It is supported. See Bitwise library
__________________
Dimitris Zacharakis
http://www.terracom.gr
#
3
(
permalink
)
01-18-2008, 04:51 PM
specci48
Basic4ppc Expert
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Total Awards
: 2
See this thread
http://www.basic4ppc.com/forum/showt...ighlight=color
if you don't want to use a separate library.
specci48
#
4
(
permalink
)
01-18-2008, 05:02 PM
Leginus
Junior Member
Join Date: Dec 2007
Posts: 27
Thanks that is just what i was looking for. Obviously i didnt read the forum well enough
#
5
(
permalink
)
01-19-2008, 06:08 AM
Erel
Administrator
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Total Awards
: 1
You could use the
GetRGB
method.
#
6
(
permalink
)
01-19-2008, 10:10 AM
specci48
Basic4ppc Expert
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Total Awards
: 2
Quote:
Originally Posted by
Erel
You could use the
GetRGB
method.
Oh yes, haven't remembered this new feature ...
#
7
(
permalink
)
01-19-2008, 10:58 AM
Leginus
Junior Member
Join Date: Dec 2007
Posts: 27
Thanks all, I have also noticed that I don't actually need to convert it either. I can use the same value and it works, although RGB is preferable personally.
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Change color in a progress bar
2220
Questions (Windows Mobile)
8
09-28-2008
09:58 AM
Color Dialog Box
ceaser
Basic4ppc Wishlist
12
07-29-2008
08:37 PM
Background Color
im4retro
Basic4ppc Wishlist
1
05-27-2008
05:11 PM
Background Color
im4retro
Questions (Windows Mobile)
2
05-27-2008
03:55 PM
Image1.color
cosmo15900
Questions (Windows Mobile)
3
02-02-2008
09:47 PM
All times are GMT. The time now is
06:39 AM
.
Contact Us
-
Basic4android - Android programming
-
Top
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.3.0
LinkBack
LinkBack URL
About LinkBacks