SCREEN 12 in QB (colors) please convert to VB format 
Author Message
 SCREEN 12 in QB (colors) please convert to VB format

Hello does anybody know how to convert QB screen 12 colors to
visaul basic format?

For example:
QB style

SCREEN 12 set the screen so that it could display 256 different colors
y = point(7,10)

if y returns 96 how do I know what color is that in VB?

thanks for anyhelp

PS. I think to solve the problem you need to do some multiplying stuff.



Thu, 04 Feb 1999 03:00:00 GMT  
 SCREEN 12 in QB (colors) please convert to VB format


Quote:
>Hello does anybody know how to convert QB screen 12 colors to
>visaul basic format?

You write
dim VBColorVar as LONG
VBColorVar = QBCOLOR (whatevercolorinteger)

VBColorVar will then contain the VB equivalent of the color you
wanted.



Fri, 05 Feb 1999 03:00:00 GMT  
 SCREEN 12 in QB (colors) please convert to VB format


Quote:
> Hello does anybody know how to convert QB screen 12 colors to
> visaul basic format?

VB's QBColor doesn't support SCREEN 12 mode colors. It only does 0-16.

--
VB Info: http://home.sn.no/~balchen/vb/visual.htm
FAQ: http://home.sn.no/~balchen/vb/faq.htm
Knowledge Base: http://home.sn.no/~balchen/vb/kb.htm



Sat, 06 Feb 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. QB screen 12 background color help needed

2. faster PSET for SCREEN 12 / memory layout of SCREEN 12

3. Screen 12 backgrounds in QB 4.5

4. Print text to SCREEN 12 in any color combination

5. HELP: Convert Number to Time and Display in 12 Hour Format

6. save/load SCREEN 12 screens in QBasic?

7. Converting from QB MBF to VB IEEE format

8. VB 5.0 Documentation - 05.zip (12/12)

9. Color help needed in converting VB's BGR format to RGB output

10. How to convert vb system color to RGB (HTML format)

11. 256 Color in mode 12(QB45)???

12. 80x60 in PowerBASIC Screen 12

 

 
Powered by phpBB® Forum Software